From: Sage Weil Date: Tue, 5 Feb 2013 21:41:23 +0000 (-0800) Subject: ceph: do not set r_old_dentry_dir on link() X-Git-Tag: v3.15-rc1~61^2~64 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b58c9b19bddb47a1961608bc62d0c2f3dc9705e;p=pandora-kernel.git 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 Signed-off-by: Sage Weil Reviewed-by: Yan, Zheng --- Reading git-diff-tree failed