Remove SLAB_CTOR_CONSTRUCTOR
[firefly-linux-kernel-4.4.55.git] / fs / efs / super.c
index ba7a8b9da0c1663e926a78722c4d5d4e445e58e7..e0a6839e68ae0f53f762a5f4aed8466b6d1d98ff 100644 (file)
@@ -72,8 +72,7 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
 {
        struct efs_inode_info *ei = (struct efs_inode_info *) foo;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&ei->vfs_inode);
+       inode_init_once(&ei->vfs_inode);
 }
  
 static int init_inodecache(void)