]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/locks.c
Merge branch 'server-cluster-locking-api' of git://linux-nfs.org/~bfields/linux
[linux-2.6-omap-h63xx.git] / fs / locks.c
index 53b0cd15320204ee8cf470729a4dbc144b626c5c..671a034dc999fffdf88856401694fda0cef87147 100644 (file)
@@ -203,8 +203,7 @@ static void init_once(void *foo, struct kmem_cache *cache, unsigned long flags)
 {
        struct file_lock *lock = (struct file_lock *) foo;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) !=
-                                       SLAB_CTOR_CONSTRUCTOR)
+       if (!(flags & SLAB_CTOR_CONSTRUCTOR))
                return;
 
        locks_init_lock(lock);