diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2012-06-09 11:50:36 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2012-07-14 08:32:49 -0400 |
commit | e6f9f8d0296aad7fbaf01de38ccaa1bf654bbda4 (patch) | |
tree | 0b08a2032ff94ce26e4ae12ef4b9aa31505b97bc /fs/cifs/cifsfs.c | |
parent | 63a44583f3a4408b902a3d7ba18b4ab13d1309ab (diff) |
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.c | 1 |
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) | |||
257 | static void cifs_i_callback(struct rcu_head *head) | 257 | static void cifs_i_callback(struct rcu_head *head) |
258 | { | 258 | { |
259 | struct inode *inode = container_of(head, struct inode, i_rcu); | 259 | struct inode *inode = container_of(head, struct inode, i_rcu); |
260 | INIT_LIST_HEAD(&inode->i_dentry); | ||
261 | kmem_cache_free(cifs_inode_cachep, CIFS_I(inode)); | 260 | kmem_cache_free(cifs_inode_cachep, CIFS_I(inode)); |
262 | } | 261 | } |
263 | 262 | ||