diff options
Diffstat (limited to 'fs/ocfs2/super.c')
-rw-r--r-- | fs/ocfs2/super.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 | ||