Remove SLAB_CTOR_CONSTRUCTOR
[firefly-linux-kernel-4.4.55.git] / fs / sysv / inode.c
index 9311cac186fe1c1f04c6eb502226100fb9c4fd39..564411693394581a51ad421b78bfd7e54bbdc658 100644 (file)
@@ -322,9 +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_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
-                       SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&si->vfs_inode);
+       inode_init_once(&si->vfs_inode);
 }
 
 const struct super_operations sysv_sops = {