diff options
Diffstat (limited to 'fs/fat')
-rw-r--r-- | fs/fat/cache.c | 2 | ||||
-rw-r--r-- | fs/fat/inode.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/fat/cache.c b/fs/fat/cache.c index 1acc941245fb..97b967b84fc6 100644 --- a/fs/fat/cache.c +++ b/fs/fat/cache.c | |||
@@ -49,7 +49,7 @@ int __init fat_cache_init(void) | |||
49 | { | 49 | { |
50 | fat_cache_cachep = kmem_cache_create("fat_cache", | 50 | fat_cache_cachep = kmem_cache_create("fat_cache", |
51 | sizeof(struct fat_cache), | 51 | sizeof(struct fat_cache), |
52 | 0, SLAB_RECLAIM_ACCOUNT, | 52 | 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
53 | init_once, NULL); | 53 | init_once, NULL); |
54 | if (fat_cache_cachep == NULL) | 54 | if (fat_cache_cachep == NULL) |
55 | return -ENOMEM; | 55 | return -ENOMEM; |
diff --git a/fs/fat/inode.c b/fs/fat/inode.c index e78d7b4842cc..a75708901e73 100644 --- a/fs/fat/inode.c +++ b/fs/fat/inode.c | |||
@@ -518,7 +518,7 @@ static int __init fat_init_inodecache(void) | |||
518 | { | 518 | { |
519 | fat_inode_cachep = kmem_cache_create("fat_inode_cache", | 519 | fat_inode_cachep = kmem_cache_create("fat_inode_cache", |
520 | sizeof(struct msdos_inode_info), | 520 | sizeof(struct msdos_inode_info), |
521 | 0, SLAB_RECLAIM_ACCOUNT, | 521 | 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
522 | init_once, NULL); | 522 | init_once, NULL); |
523 | if (fat_inode_cachep == NULL) | 523 | if (fat_inode_cachep == NULL) |
524 | return -ENOMEM; | 524 | return -ENOMEM; |