diff options
author | Paul Jackson <pj@sgi.com> | 2006-03-24 06:16:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-24 10:33:23 -0500 |
commit | fffb60f93ce5880aade88e01d7133b52a4879710 (patch) | |
tree | 7882f0550af8580c0646306f6d391fe610f7ef8c /fs/nfs | |
parent | 4b6a9316fab51af611dc8671f296734089f6a22a (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/nfs')
-rw-r--r-- | fs/nfs/direct.c | 3 | ||||
-rw-r--r-- | fs/nfs/inode.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/fs/nfs/direct.c b/fs/nfs/direct.c index 751f5b5e7e07..4ae2f3b33fef 100644 --- a/fs/nfs/direct.c +++ b/fs/nfs/direct.c | |||
@@ -781,7 +781,8 @@ int nfs_init_directcache(void) | |||
781 | { | 781 | { |
782 | nfs_direct_cachep = kmem_cache_create("nfs_direct_cache", | 782 | nfs_direct_cachep = kmem_cache_create("nfs_direct_cache", |
783 | sizeof(struct nfs_direct_req), | 783 | sizeof(struct nfs_direct_req), |
784 | 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 784 | 0, (SLAB_RECLAIM_ACCOUNT| |
785 | SLAB_MEM_SPREAD), | ||
785 | NULL, NULL); | 786 | NULL, NULL); |
786 | if (nfs_direct_cachep == NULL) | 787 | if (nfs_direct_cachep == NULL) |
787 | return -ENOMEM; | 788 | return -ENOMEM; |
diff --git a/fs/nfs/inode.c b/fs/nfs/inode.c index 834c1e905ce1..3413996f9a86 100644 --- a/fs/nfs/inode.c +++ b/fs/nfs/inode.c | |||
@@ -2163,7 +2163,8 @@ static int nfs_init_inodecache(void) | |||
2163 | { | 2163 | { |
2164 | nfs_inode_cachep = kmem_cache_create("nfs_inode_cache", | 2164 | nfs_inode_cachep = kmem_cache_create("nfs_inode_cache", |
2165 | sizeof(struct nfs_inode), | 2165 | sizeof(struct nfs_inode), |
2166 | 0, SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 2166 | 0, (SLAB_RECLAIM_ACCOUNT| |
2167 | SLAB_MEM_SPREAD), | ||
2167 | init_once, NULL); | 2168 | init_once, NULL); |
2168 | if (nfs_inode_cachep == NULL) | 2169 | if (nfs_inode_cachep == NULL) |
2169 | return -ENOMEM; | 2170 | return -ENOMEM; |