summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 11:50:36 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 16:32:49 +0400
commite6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4 (patch)
tree0b08a2032ff94ce26e4ae12ef4b9aa31505b97bc
parent63a44583f3a4408b902a3d7ba18b4ab13d1309ab (diff)
downloadlinux-stable-e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4.tar.gz
linux-stable-e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4.tar.bz2
linux-stable-e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4.zip
cifs: don't bother with ->i_dentry in ->destroy_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
-rw-r--r--fs/cifs/cifsfs.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/cifs/cifsfs.c b/fs/cifs/cifsfs.c
index 8b6e344eb0ba..bcab12c87146 100644
--- a/fs/cifs/cifsfs.c
+++ b/fs/cifs/cifsfs.c
@@ -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));
}