diff options
Diffstat (limited to 'fs')
-rw-r--r-- | fs/buffer.c | 2 | ||||
-rw-r--r-- | fs/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 5f525b3c6d9f..6ed59497fd4d 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3115,7 +3115,7 @@ void __init buffer_init(void) | |||
3115 | 3115 | ||
3116 | bh_cachep = kmem_cache_create("buffer_head", | 3116 | bh_cachep = kmem_cache_create("buffer_head", |
3117 | sizeof(struct buffer_head), 0, | 3117 | sizeof(struct buffer_head), 0, |
3118 | SLAB_PANIC, init_buffer_head, NULL); | 3118 | SLAB_RECLAIM_ACCOUNT|SLAB_PANIC, init_buffer_head, NULL); |
3119 | 3119 | ||
3120 | /* | 3120 | /* |
3121 | * Limit the bh occupancy to 10% of ZONE_NORMAL | 3121 | * Limit the bh occupancy to 10% of ZONE_NORMAL |
diff --git a/fs/inode.c b/fs/inode.c index af8fd78d2099..90a110feb713 100644 --- a/fs/inode.c +++ b/fs/inode.c | |||
@@ -1336,7 +1336,7 @@ void __init inode_init(unsigned long mempages) | |||
1336 | 1336 | ||
1337 | /* inode slab cache */ | 1337 | /* inode slab cache */ |
1338 | inode_cachep = kmem_cache_create("inode_cache", sizeof(struct inode), | 1338 | inode_cachep = kmem_cache_create("inode_cache", sizeof(struct inode), |
1339 | 0, SLAB_PANIC, init_once, NULL); | 1339 | 0, SLAB_RECLAIM_ACCOUNT|SLAB_PANIC, init_once, NULL); |
1340 | set_shrinker(DEFAULT_SEEKS, shrink_icache_memory); | 1340 | set_shrinker(DEFAULT_SEEKS, shrink_icache_memory); |
1341 | 1341 | ||
1342 | /* Hash may have been set up in inode_init_early */ | 1342 | /* Hash may have been set up in inode_init_early */ |