]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/adfs/super.c
Pull acpi-debug into release branch
[linux-2.6-omap-h63xx.git] / fs / adfs / super.c
index 2e5f2c8371ee3839acf853d7b2f3d22a08a9fe0c..1c9fd3029496f577a69252b119adc817ff26fe85 100644 (file)
@@ -232,18 +232,16 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
 {
        struct adfs_inode_info *ei = (struct adfs_inode_info *) foo;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
-           SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&ei->vfs_inode);
+       inode_init_once(&ei->vfs_inode);
 }
+
 static int init_inodecache(void)
 {
        adfs_inode_cachep = kmem_cache_create("adfs_inode_cache",
                                             sizeof(struct adfs_inode_info),
                                             0, (SLAB_RECLAIM_ACCOUNT|
                                                SLAB_MEM_SPREAD),
-                                            init_once, NULL);
+                                            init_once);
        if (adfs_inode_cachep == NULL)
                return -ENOMEM;
        return 0;