]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/locks.c
Driver core: add missing kset uevent
[linux-2.6-omap-h63xx.git] / fs / locks.c
index 8ec16ab5ef7449222744b3c2829e37fbf8f6d88b..431a8b871fcef03ea098f8d8ac8f8602a2d33f66 100644 (file)
@@ -203,9 +203,6 @@ 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_CONSTRUCTOR))
-               return;
-
        locks_init_lock(lock);
 }