Remove SLAB_CTOR_CONSTRUCTOR
[firefly-linux-kernel-4.4.55.git] / fs / sysv / inode.c
index 3152d7415606711fa168b4e9f5f459d5c13f125c..564411693394581a51ad421b78bfd7e54bbdc658 100644 (file)
@@ -322,8 +322,7 @@ static void init_once(void *p, struct kmem_cache *cachep, unsigned long flags)
 {
        struct sysv_inode_info *si = (struct sysv_inode_info *)p;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&si->vfs_inode);
+       inode_init_once(&si->vfs_inode);
 }
 
 const struct super_operations sysv_sops = {