diff options
Diffstat (limited to 'fs/mbcache.c')
| -rw-r--r-- | fs/mbcache.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/mbcache.c b/fs/mbcache.c index d6707fbdeb50..480d02d6ebf0 100644 --- a/fs/mbcache.c +++ b/fs/mbcache.c @@ -365,8 +365,7 @@ struct mb_cache *mb_cache_create(int bucket_bits) cache->c_max_entries = bucket_count << 4; INIT_LIST_HEAD(&cache->c_list); spin_lock_init(&cache->c_list_lock); - cache->c_hash = kmalloc_objs(struct hlist_bl_head, bucket_count, - GFP_KERNEL); + cache->c_hash = kmalloc_objs(struct hlist_bl_head, bucket_count); if (!cache->c_hash) { kfree(cache); goto err_out; |
