summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 11:51:12 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 16:32:50 +0400
commit7968ce12e9645c5eb5bb3f4320e43c2e402d580c (patch)
tree839a61f8a75db12663b292fd23f08af5d3e29e66
parente6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4 (diff)
downloadlinux-stable-7968ce12e9645c5eb5bb3f4320e43c2e402d580c.tar.gz
linux-stable-7968ce12e9645c5eb5bb3f4320e43c2e402d580c.tar.bz2
linux-stable-7968ce12e9645c5eb5bb3f4320e43c2e402d580c.zip
adfs: don't bother with ->i_dentry in ->destroy_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/adfs/super.c1
1 files changed, 0 insertions, 1 deletions
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));
}