NFS: Fix RCU issues in the NFSv4 delegation code
[safe/jmp/linux-2.6] / fs / dcache.c
index 74da947..f1358e5 100644 (file)
@@ -1222,7 +1222,6 @@ struct dentry *d_splice_alias(struct inode *inode, struct dentry *dentry)
                        BUG_ON(!(new->d_flags & DCACHE_DISCONNECTED));
                        spin_unlock(&dcache_lock);
                        security_d_instantiate(new, inode);
-                       d_rehash(dentry);
                        d_move(new, dentry);
                        iput(inode);
                } else {