]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/bfs/inode.c
Pull acpi-debug into release branch
[linux-2.6-omap-h63xx.git] / fs / bfs / inode.c
index edc08d89aabc5a2979c2b2a9c0ffb49b20f3ae7b..f346eb14e86f37b88a820a7231eb10dc19414fd6 100644 (file)
@@ -248,17 +248,16 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
 {
        struct bfs_inode_info *bi = foo;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&bi->vfs_inode);
+       inode_init_once(&bi->vfs_inode);
 }
+
 static int init_inodecache(void)
 {
        bfs_inode_cachep = kmem_cache_create("bfs_inode_cache",
                                             sizeof(struct bfs_inode_info),
                                             0, (SLAB_RECLAIM_ACCOUNT|
                                                SLAB_MEM_SPREAD),
-                                            init_once, NULL);
+                                            init_once);
        if (bfs_inode_cachep == NULL)
                return -ENOMEM;
        return 0;