diff options
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlm/dlmfs.c | 2 | ||||
-rw-r--r-- | fs/ocfs2/super.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/fs/ocfs2/dlm/dlmfs.c b/fs/ocfs2/dlm/dlmfs.c index dd2d24dc25e0..ca8587cc58bc 100644 --- a/fs/ocfs2/dlm/dlmfs.c +++ b/fs/ocfs2/dlm/dlmfs.c | |||
@@ -596,7 +596,7 @@ static int __init init_dlmfs_fs(void) | |||
596 | 596 | ||
597 | dlmfs_inode_cache = kmem_cache_create("dlmfs_inode_cache", | 597 | dlmfs_inode_cache = kmem_cache_create("dlmfs_inode_cache", |
598 | sizeof(struct dlmfs_inode_private), | 598 | sizeof(struct dlmfs_inode_private), |
599 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT, | 599 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
600 | dlmfs_init_once, NULL); | 600 | dlmfs_init_once, NULL); |
601 | if (!dlmfs_inode_cache) | 601 | if (!dlmfs_inode_cache) |
602 | return -ENOMEM; | 602 | return -ENOMEM; |
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 09e1c57a86a0..3fe7896c666a 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -951,7 +951,7 @@ static int ocfs2_initialize_mem_caches(void) | |||
951 | { | 951 | { |
952 | ocfs2_inode_cachep = kmem_cache_create("ocfs2_inode_cache", | 952 | ocfs2_inode_cachep = kmem_cache_create("ocfs2_inode_cache", |
953 | sizeof(struct ocfs2_inode_info), | 953 | sizeof(struct ocfs2_inode_info), |
954 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT, | 954 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
955 | ocfs2_inode_init_once, NULL); | 955 | ocfs2_inode_init_once, NULL); |
956 | if (!ocfs2_inode_cachep) | 956 | if (!ocfs2_inode_cachep) |
957 | return -ENOMEM; | 957 | return -ENOMEM; |