cifs: don't bother with ->i_dentry in ->destroy_inode()
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 9 Jun 2012 15:50:36 +0000 (11:50 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 14 Jul 2012 12:32:49 +0000 (16:32 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/cifs/cifsfs.c

index 8b6e344eb0ba3a483780f0b32cf0961ec258ca4c..bcab12c87146e57481be363a4615c6015f1748b1 100644 (file)
@@ -257,7 +257,6 @@ cifs_alloc_inode(struct super_block *sb)
 static void cifs_i_callback(struct rcu_head *head)
 {
        struct inode *inode = container_of(head, struct inode, i_rcu);
-       INIT_LIST_HEAD(&inode->i_dentry);
        kmem_cache_free(cifs_inode_cachep, CIFS_I(inode));
 }