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

index 06fdcc9..bdaec92 100644 (file)
@@ -246,7 +246,6 @@ static struct inode *adfs_alloc_inode(struct super_block *sb)
 static void adfs_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(adfs_inode_cachep, ADFS_I(inode));
 }