aboutsummaryrefslogtreecommitdiffstats
path: root/fs/mbcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/mbcache.c')
-rw-r--r--fs/mbcache.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/mbcache.c b/fs/mbcache.c
index f5bbe4c97c58..e4fde1ab22cd 100644
--- a/fs/mbcache.c
+++ b/fs/mbcache.c
@@ -288,7 +288,7 @@ mb_cache_create(const char *name, struct mb_cache_op *cache_op,
288 INIT_LIST_HEAD(&cache->c_indexes_hash[m][n]); 288 INIT_LIST_HEAD(&cache->c_indexes_hash[m][n]);
289 } 289 }
290 cache->c_entry_cache = kmem_cache_create(name, entry_size, 0, 290 cache->c_entry_cache = kmem_cache_create(name, entry_size, 0,
291 SLAB_RECLAIM_ACCOUNT, NULL, NULL); 291 SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, NULL, NULL);
292 if (!cache->c_entry_cache) 292 if (!cache->c_entry_cache)
293 goto fail; 293 goto fail;
294 294
@@ -311,7 +311,7 @@ fail:
311/* 311/*
312 * mb_cache_shrink() 312 * mb_cache_shrink()
313 * 313 *
314 * Removes all cache entires of a device from the cache. All cache entries 314 * Removes all cache entries of a device from the cache. All cache entries
315 * currently in use cannot be freed, and thus remain in the cache. All others 315 * currently in use cannot be freed, and thus remain in the cache. All others
316 * are freed. 316 * are freed.
317 * 317 *