diff options
Diffstat (limited to 'fs/jffs')
-rw-r--r-- | fs/jffs/inode-v23.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/jffs/inode-v23.c b/fs/jffs/inode-v23.c index 890d7ff7456d..ffa49861d985 100644 --- a/fs/jffs/inode-v23.c +++ b/fs/jffs/inode-v23.c | |||
@@ -1812,14 +1812,14 @@ 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, | 1815 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
1816 | NULL, NULL); | 1816 | NULL, NULL); |
1817 | if (!fm_cache) { | 1817 | if (!fm_cache) { |
1818 | return -ENOMEM; | 1818 | return -ENOMEM; |
1819 | } | 1819 | } |
1820 | 1820 | ||
1821 | node_cache = kmem_cache_create("jffs_node",sizeof(struct jffs_node), | 1821 | node_cache = kmem_cache_create("jffs_node",sizeof(struct jffs_node), |
1822 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT, | 1822 | 0, SLAB_HWCACHE_ALIGN|SLAB_RECLAIM_ACCOUNT|SLAB_MEM_SPREAD, |
1823 | NULL, NULL); | 1823 | NULL, NULL); |
1824 | if (!node_cache) { | 1824 | if (!node_cache) { |
1825 | kmem_cache_destroy(fm_cache); | 1825 | kmem_cache_destroy(fm_cache); |