git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
844d87c
)
ceph: do not set r_old_dentry_dir on link()
author
Sage Weil
<sage@inktank.com>
Tue, 5 Feb 2013 21:41:23 +0000
(13:41 -0800)
committer
Yan, Zheng
<zheng.z.yan@intel.com>
Thu, 3 Apr 2014 02:33:53 +0000
(10:33 +0800)
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>
fs/ceph/dir.c
patch
|
blob
|
history
diff --cc
fs/ceph/dir.c
Simple merge