Unionfs: SLAB_CTOR_CONSTRUCTOR has been removed from vanilla
authorJosef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
Sat, 19 May 2007 07:14:30 +0000 (03:14 -0400)
committerErez Zadok <ezk@cs.sunysb.edu>
Tue, 11 Nov 2014 02:31:50 +0000 (21:31 -0500)
Signed-off-by: Josef 'Jeff' Sipek <jsipek@cs.sunysb.edu>
fs/unionfs/super.c

index af5a1c5655d26069a04f406f8d37ae2ba0106994..c1048e9eeff0868cc5ef32fbbd9a64ab5b18bf0a 100644 (file)
@@ -821,8 +821,7 @@ static void init_once(void *v, struct kmem_cache * cachep, unsigned long flags)
 {
        struct unionfs_inode_info *i = v;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&i->vfs_inode);
+       inode_init_once(&i->vfs_inode);
 }
 
 int unionfs_init_inode_cache(void)