summaryrefslogtreecommitdiff
path: root/fs/ceph/cache.h
diff options
context:
space:
mode:
authorSage Weil <sage@inktank.com>2013-02-06 01:41:23 +0400
committerYan, Zheng <zheng.z.yan@intel.com>2014-04-03 06:33:53 +0400
commit4b58c9b19bddb47a1961608bc62d0c2f3dc9705e (patch)
tree41a7b687f380b397d379883295a6994e098583b5 /fs/ceph/cache.h
parent844d87c3329980e2b1849cf53205d7fa965d8995 (diff)
downloadlinux-4b58c9b19bddb47a1961608bc62d0c2f3dc9705e.tar.xz
ceph: do not set r_old_dentry_dir on link()
This is racy--we do not know whather d_parent has changed out from underneath us because i_mutex is not held on the source inode's directory. Also, taking this reference is useless. Reported-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: Sage Weil <sage@inktank.com> Reviewed-by: Yan, Zheng <zheng.z.yan@intel.com>
Diffstat (limited to 'fs/ceph/cache.h')
0 files changed, 0 insertions, 0 deletions