ceph: prepopulate inodes only when request is aborted
authorSage Weil <sage@inktank.com>
Tue, 29 Jan 2013 07:55:31 +0000 (02:55 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Tue, 26 Feb 2013 07:46:08 +0000 (02:46 -0500)
commit79f9f99ad1e3e19d4ac300573b51289e3ee8ba86
tree455ace78657477d949e856575f39a23d4abf9ed3
parent4f522a247bc26d4ab5c8fc406ffffa8b3a77abe3
ceph: prepopulate inodes only when request is aborted

If r_aborted is true, we do not hold the dir i_mutex, and cannot touch
the dcache.  However, we still need to update the inodes with the state
returned by the MDS.

Reported-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Sage Weil <sage@inktank.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/ceph/inode.c