aboutsummaryrefslogtreecommitdiffstats
path: root/mm/shmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'mm/shmem.c')
-rw-r--r--mm/shmem.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mm/shmem.c b/mm/shmem.c
index 8631be45b40d..0a8e29cf87e0 100644
--- a/mm/shmem.c
+++ b/mm/shmem.c
@@ -2157,8 +2157,7 @@ static int init_inodecache(void)
2157 2157
2158static void destroy_inodecache(void) 2158static void destroy_inodecache(void)
2159{ 2159{
2160 if (kmem_cache_destroy(shmem_inode_cachep)) 2160 kmem_cache_destroy(shmem_inode_cachep);
2161 printk(KERN_INFO "shmem_inode_cache: not all structures were freed\n");
2162} 2161}
2163 2162
2164static const struct address_space_operations shmem_aops = { 2163static const struct address_space_operations shmem_aops = {