diff options
Diffstat (limited to 'fs/ocfs2')
-rw-r--r-- | fs/ocfs2/dlm/dlmfs.c | 3 | ||||
-rw-r--r-- | fs/ocfs2/super.c | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/fs/ocfs2/dlm/dlmfs.c b/fs/ocfs2/dlm/dlmfs.c index ca8587cc58bc..7e88e24b3471 100644 --- a/fs/ocfs2/dlm/dlmfs.c +++ b/fs/ocfs2/dlm/dlmfs.c | |||
@@ -596,7 +596,8 @@ 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|SLAB_MEM_SPREAD, | 599 | 0, (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| |
600 | SLAB_MEM_SPREAD), | ||
600 | dlmfs_init_once, NULL); | 601 | dlmfs_init_once, NULL); |
601 | if (!dlmfs_inode_cache) | 602 | if (!dlmfs_inode_cache) |
602 | return -ENOMEM; | 603 | return -ENOMEM; |
diff --git a/fs/ocfs2/super.c b/fs/ocfs2/super.c index 3fe7896c666a..44d8b5248236 100644 --- a/fs/ocfs2/super.c +++ b/fs/ocfs2/super.c | |||
@@ -950,9 +950,11 @@ static void ocfs2_inode_init_once(void *data, | |||
950 | static int ocfs2_initialize_mem_caches(void) | 950 | 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|SLAB_MEM_SPREAD, | 954 | 0, |
955 | ocfs2_inode_init_once, NULL); | 955 | (SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT| |
956 | SLAB_MEM_SPREAD), | ||
957 | ocfs2_inode_init_once, NULL); | ||
956 | if (!ocfs2_inode_cachep) | 958 | if (!ocfs2_inode_cachep) |
957 | return -ENOMEM; | 959 | return -ENOMEM; |
958 | 960 | ||