Index: linux-2.6.21-rc6/fs/locks.c =================================================================== --- linux-2.6.21-rc6.orig/fs/locks.c 2007-04-22 23:17:29.000000000 -0700 +++ linux-2.6.21-rc6/fs/locks.c 2007-04-22 23:17:45.000000000 -0700 @@ -203,7 +203,7 @@ static void init_once(void *foo, struct { struct file_lock *lock = (struct file_lock *) foo; - if (flags & SLAB_CTOR_CONSTRUCTOR) + if (!(flags & SLAB_CTOR_CONSTRUCTOR)) return; locks_init_lock(lock);