]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - fs/ext2/super.c
mm: Remove slab destructors from kmem_cache_create().
[mirror_ubuntu-artful-kernel.git] / fs / ext2 / super.c
index a6b1072daea7ee1e903f9f4aac32c1efcde7b85b..68579a0ed3f0a6617b8ecbe59e9ce826f5be2f2d 100644 (file)
@@ -167,14 +167,14 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
 #endif
        inode_init_once(&ei->vfs_inode);
 }
+
 static int init_inodecache(void)
 {
        ext2_inode_cachep = kmem_cache_create("ext2_inode_cache",
                                             sizeof(struct ext2_inode_info),
                                             0, (SLAB_RECLAIM_ACCOUNT|
                                                SLAB_MEM_SPREAD),
-                                            init_once, NULL);
+                                            init_once);
        if (ext2_inode_cachep == NULL)
                return -ENOMEM;
        return 0;