diff options
Diffstat (limited to 'mm')
-rw-r--r-- | mm/shmem.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mm/shmem.c b/mm/shmem.c index 204865750fe4..6fa20a84daa0 100644 --- a/mm/shmem.c +++ b/mm/shmem.c | |||
@@ -2343,9 +2343,7 @@ static int init_inodecache(void) | |||
2343 | { | 2343 | { |
2344 | shmem_inode_cachep = kmem_cache_create("shmem_inode_cache", | 2344 | shmem_inode_cachep = kmem_cache_create("shmem_inode_cache", |
2345 | sizeof(struct shmem_inode_info), | 2345 | sizeof(struct shmem_inode_info), |
2346 | 0, 0, init_once); | 2346 | 0, SLAB_PANIC, init_once); |
2347 | if (shmem_inode_cachep == NULL) | ||
2348 | return -ENOMEM; | ||
2349 | return 0; | 2347 | return 0; |
2350 | } | 2348 | } |
2351 | 2349 | ||