vfs: fix the stupidity with i_dentry in inode destructors
[firefly-linux-kernel-4.4.55.git] / fs / xfs / xfs_iget.c
index 0fa98b1c70eab1182a6b3271cc98094a9d96925a..3960a066d7ffcb06a02aadaa34d874a92c0b643b 100644 (file)
@@ -107,7 +107,6 @@ xfs_inode_free_callback(
        struct inode            *inode = container_of(head, struct inode, i_rcu);
        struct xfs_inode        *ip = XFS_I(inode);
 
-       INIT_LIST_HEAD(&inode->i_dentry);
        kmem_zone_free(xfs_inode_zone, ip);
 }