diff options
Diffstat (limited to 'fs/buffer.c')
-rw-r--r-- | fs/buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/buffer.c b/fs/buffer.c index 39ff14403d13..8b9807523efe 100644 --- a/fs/buffer.c +++ b/fs/buffer.c | |||
@@ -3180,8 +3180,7 @@ static void recalc_bh_state(void) | |||
3180 | 3180 | ||
3181 | struct buffer_head *alloc_buffer_head(gfp_t gfp_flags) | 3181 | struct buffer_head *alloc_buffer_head(gfp_t gfp_flags) |
3182 | { | 3182 | { |
3183 | struct buffer_head *ret = kmem_cache_alloc(bh_cachep, | 3183 | struct buffer_head *ret = kmem_cache_alloc(bh_cachep, gfp_flags); |
3184 | set_migrateflags(gfp_flags, __GFP_RECLAIMABLE)); | ||
3185 | if (ret) { | 3184 | if (ret) { |
3186 | INIT_LIST_HEAD(&ret->b_assoc_buffers); | 3185 | INIT_LIST_HEAD(&ret->b_assoc_buffers); |
3187 | get_cpu_var(bh_accounting).nr++; | 3186 | get_cpu_var(bh_accounting).nr++; |