Prechádzať zdrojové kódy

cifs: don't bother with ->i_dentry in ->destroy_inode()

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Al Viro 13 rokov pred
rodič
commit
e6f9f8d029
1 zmenil súbory, kde vykonal 0 pridanie a 1 odobranie
  1. 0 1
      fs/cifs/cifsfs.c

+ 0 - 1
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));
 }