projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
360da90
)
[PATCH vfs-2.6 4/6] vfs: remove unnecessary fsnotify_d_instantiate()
author
OGAWA Hirofumi
<hirofumi@mail.parknet.co.jp>
Wed, 15 Oct 2008 22:50:29 +0000
(07:50 +0900)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 23 Oct 2008 09:13:18 +0000
(
05:13
-0400)
This calls d_move(), so fsnotify_d_instantiate() is unnecessary like
rename path.
Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
fs/dcache.c
patch
|
blob
|
blame
|
history
diff --git
a/fs/dcache.c
b/fs/dcache.c
index 5a24cee6b76a2965b2c6f22c243cd78b38299ee1..900de90d21be56ff6ac0a16dd6d30b6b3bfcd977 100644
(file)
--- a/
fs/dcache.c
+++ b/
fs/dcache.c
@@
-1210,7
+1210,6
@@
struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
new = __d_find_alias(inode, 1);
if (new) {
BUG_ON(!(new->d_flags & DCACHE_DISCONNECTED));
- fsnotify_d_instantiate(new, inode);
spin_unlock(&dcache_lock);
security_d_instantiate(new, inode);
d_rehash(dentry);