From: Al Viro Date: Sat, 9 Jun 2012 15:50:36 +0000 (-0400) Subject: cifs: don't bother with ->i_dentry in ->destroy_inode() X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4;p=deliverable%2Flinux.git cifs: don't bother with ->i_dentry in ->destroy_inode() Signed-off-by: Al Viro --- 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)); }