aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ocfs2
diff options
context:
space:
mode:
authorPaul Jackson <pj@sgi.com>2006-03-24 06:16:06 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-24 10:33:23 -0500
commitfffb60f93ce5880aade88e01d7133b52a4879710 (patch)
tree7882f0550af8580c0646306f6d391fe610f7ef8c /fs/ocfs2
parent4b6a9316fab51af611dc8671f296734089f6a22a (diff)
[PATCH] cpuset memory spread: slab cache format
Rewrap the overly long source code lines resulting from the previous patch's addition of the slab cache flag SLAB_MEM_SPREAD. This patch contains only formatting changes, and no function change. Signed-off-by: Paul Jackson <pj@sgi.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/ocfs2')
-rw-r--r--fs/ocfs2/dlm/dlmfs.c3
-rw-r--r--fs/ocfs2/super.c8
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,
950static int ocfs2_initialize_mem_caches(void) 950static 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