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/jffs | |
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/jffs')
-rw-r--r-- | fs/jffs/inode-v23.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c index ffa49861d985..5a4519e834da 100644 --- a/fs/jffs/inode-v23.c +++ b/fs/jffs/inode-v23.c | |||
@@ -1812,15 +1812,17 @@ init_jffs_fs(void) | |||
1812 | } | 1812 | } |
1813 | #endif | 1813 | #endif |
1814 | fm_cache = kmem_cache_create("jffs_fm", sizeof(struct jffs_fm), | 1814 | fm_cache = kmem_cache_create("jffs_fm", sizeof(struct jffs_fm), |
1815 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 1815 | 0, |
1816 | NULL, NULL); | 1816 | SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
1817 | NULL, NULL); | ||
1817 | if (!fm_cache) { | 1818 | if (!fm_cache) { |
1818 | return -ENOMEM; | 1819 | return -ENOMEM; |
1819 | } | 1820 | } |
1820 | 1821 | ||
1821 | node_cache = kmem_cache_create("jffs_node",sizeof(struct jffs_node), | 1822 | node_cache = kmem_cache_create("jffs_node",sizeof(struct jffs_node), |
1822 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, | 1823 | 0, |
1823 | NULL, NULL); | 1824 | SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
1825 | NULL, NULL); | ||
1824 | if (!node_cache) { | 1826 | if (!node_cache) { |
1825 | kmem_cache_destroy(fm_cache); | 1827 | kmem_cache_destroy(fm_cache); |
1826 | return -ENOMEM; | 1828 | return -ENOMEM; |