aboutsummaryrefslogtreecommitdiffstats
path: root/fs/dcache.c
diff options
context:
space:
mode:
authorOGAWA Hirofumi <hirofumi@mail.parknet.co.jp>2008-10-15 18:50:29 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2008-10-23 05:13:18 -0400
commit8f3dfaa5bab767a043c5af5b879fb86c03329f8a (patch)
treeb5213e73f1cca4ca6c6c820a1927a0fb03b9cb57 /fs/dcache.c
parent360da90029196c9449bc61e5a07ce8404e4cba57 (diff)
[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)
1210 new = __d_find_alias(inode, 1); 1210 new = __d_find_alias(inode, 1);
1211 if (new) { 1211 if (new) {
1212 BUG_ON(!(new->d_flags & DCACHE_DISCONNECTED)); 1212 BUG_ON(!(new->d_flags & DCACHE_DISCONNECTED));
1213 fsnotify_d_instantiate(new, inode);
1214 spin_unlock(&dcache_lock); 1213 spin_unlock(&dcache_lock);
1215 security_d_instantiate(new, inode); 1214 security_d_instantiate(new, inode);
1216 d_rehash(dentry); 1215 d_rehash(dentry);