Tags: patch

Hi,

This is due to SLAB changes in 2.6.22 kernel. Attached patch should be 
simply fix the compile error.

Cheers,
Alan
diff -urpN modules/unionfs/build/super.c unionfs.new/build/super.c
--- modules/unionfs/build/super.c	2007-06-01 12:55:03.000000000 +0330
+++ unionfs.new/build/super.c	2007-08-05 14:17:55.000000000 +0330
@@ -352,9 +352,7 @@ static void init_once(void *v, struct km
 
 	print_entry_location();
 
-	if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) ==
-	    SLAB_CTOR_CONSTRUCTOR)
-		inode_init_once(&c->vfs_inode);
+	inode_init_once(&c->vfs_inode);
 
 	print_exit_location();
 }

Reply via email to