diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index d6722506d2da..c58594c06569 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2234,7 +2234,6 @@ static struct inode *shmem_alloc_inode(struct super_block *sb) | |||
2234 | static void shmem_destroy_callback(struct rcu_head *head) | 2234 | static void shmem_destroy_callback(struct rcu_head *head) |
2235 | { | 2235 | { |
2236 | struct inode *inode = container_of(head, struct inode, i_rcu); | 2236 | struct inode *inode = container_of(head, struct inode, i_rcu); |
2237 | INIT_LIST_HEAD(&inode->i_dentry); | ||
2238 | kmem_cache_free(shmem_inode_cachep, SHMEM_I(inode)); | 2237 | kmem_cache_free(shmem_inode_cachep, SHMEM_I(inode)); |
2239 | } | 2238 | } |
2240 | 2239 | ||