]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - fs/jffs2/malloc.c
jffs2: Use SLAB_HWCACHE_ALIGN for jffs2_raw_{dirent,inode} slabs
[net-next-2.6.git] / fs / jffs2 / malloc.c
index 9eff2bdae8a798631cb2c987215e92eaddd75538..c082868910f2b54482fcd20340c493e804ea375e 100644 (file)
@@ -39,13 +39,13 @@ int __init jffs2_create_slab_caches(void)
 
        raw_dirent_slab = kmem_cache_create("jffs2_raw_dirent",
                                            sizeof(struct jffs2_raw_dirent),
-                                           0, 0, NULL);
+                                           0, SLAB_HWCACHE_ALIGN, NULL);
        if (!raw_dirent_slab)
                goto err;
 
        raw_inode_slab = kmem_cache_create("jffs2_raw_inode",
                                           sizeof(struct jffs2_raw_inode),
-                                          0, 0, NULL);
+                                          0, SLAB_HWCACHE_ALIGN, NULL);
        if (!raw_inode_slab)
                goto err;