diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 0d6ca7bac6c8..36c7253bea72 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3143,8 +3143,11 @@ void __init buffer_init(void) | |||
3143 | int nrpages; | 3143 | int nrpages; |
3144 | 3144 | ||
3145 | bh_cachep = kmem_cache_create("buffer_head", | 3145 | bh_cachep = kmem_cache_create("buffer_head", |
3146 | sizeof(struct buffer_head), 0, | 3146 | sizeof(struct buffer_head), 0, |
3147 | SLAB_RECLAIM_ACCOUNT|SLAB_PANIC, init_buffer_head, NULL); | 3147 | (SLAB_RECLAIM_ACCOUNT|SLAB_PANIC| |
3148 | SLAB_MEM_SPREAD), | ||
3149 | init_buffer_head, | ||
3150 | NULL); | ||
3148 | 3151 | ||
3149 | /* | 3152 | /* |
3150 | * Limit the bh occupancy to 10% of ZONE_NORMAL | 3153 | * Limit the bh occupancy to 10% of ZONE_NORMAL |