aboutsummaryrefslogtreecommitdiffstats
path: root/fs/inode.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/inode.c')
-rw-r--r--fs/inode.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/fs/inode.c b/fs/inode.c
index 25967b67903d..a51c671c54cf 100644
--- a/fs/inode.c
+++ b/fs/inode.c
@@ -1375,8 +1375,13 @@ void __init inode_init(unsigned long mempages)
1375 int loop; 1375 int loop;
1376 1376
1377 /* inode slab cache */ 1377 /* inode slab cache */
1378 inode_cachep = kmem_cache_create("inode_cache", sizeof(struct inode), 1378 inode_cachep = kmem_cache_create("inode_cache",
1379 0, SLAB_RECLAIM_ACCOUNT|SLAB_PANIC, init_once, NULL); 1379 sizeof(struct inode),
1380 0,
1381 (SLAB_RECLAIM_ACCOUNT|SLAB_PANIC|
1382 SLAB_MEM_SPREAD),
1383 init_once,
1384 NULL);
1380 set_shrinker(DEFAULT_SEEKS, shrink_icache_memory); 1385 set_shrinker(DEFAULT_SEEKS, shrink_icache_memory);
1381 1386
1382 /* Hash may have been set up in inode_init_early */ 1387 /* Hash may have been set up in inode_init_early */