summaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-10-16 07:50:29 +0900
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-23 05:13:18 -0400
commit8f3dfaa5bab767a043c5af5b879fb86c03329f8a (patch)
treeb5213e73f1cca4ca6c6c820a1927a0fb03b9cb57 /fs/dcache.c
parent360da90029196c9449bc61e5a07ce8404e4cba57 (diff)
downloadlinux-8f3dfaa5bab767a043c5af5b879fb86c03329f8a.tar.gz
linux-8f3dfaa5bab767a043c5af5b879fb86c03329f8a.tar.bz2
linux-8f3dfaa5bab767a043c5af5b879fb86c03329f8a.zip
[PATCH vfs-2.6 4/6] vfs: remove unnecessary fsnotify_d_instantiate()
This calls d_move(), so fsnotify_d_instantiate() is unnecessary like rename path. Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Diffstat (limited to 'fs/dcache.c')
-rw-r--r--fs/dcache.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/dcache.c b/fs/dcache.c
index 5a24cee6b76a..900de90d21be 100644
--- 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);