summaryrefslogtreecommitdiffstats
path: root/fs/cifs/cifsfs.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2012-06-09 17:50:36 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2012-07-14 14:32:49 +0200
commite6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4 (patch)
tree0b08a2032ff94ce26e4ae12ef4b9aa31505b97bc /fs/cifs/cifsfs.c
parentqnx6: don't bother with ->i_dentry in inode-freeing callback (diff)
downloadlinux-e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4.tar.xz
linux-e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4.zip
cifs: don't bother with ->i_dentry in ->destroy_inode()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/cifs/cifsfs.c')
-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));
}