From: Al Viro Date: Sat, 9 Jun 2012 15:51:12 +0000 (-0400) Subject: adfs: don't bother with ->i_dentry in ->destroy_inode() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7968ce12e9645c5eb5bb3f4320e43c2e402d580c;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git adfs: don't bother with ->i_dentry in ->destroy_inode() Signed-off-by: Al Viro --- diff --git a/fs/adfs/super.c b/fs/adfs/super.c index 06fdcc9382c4..bdaec92353c2 100644 --- a/fs/adfs/super.c +++ b/fs/adfs/super.c @@ -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)); }