]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - fs/inode.c
Fix race between proc_get_inode() and remove_proc_entry()
[linux-2.6-omap-h63xx.git] / fs / inode.c
index 5abb097ab1b0d998421cdc1cbad6319e5e04b00a..b4296bf62739727ea0370e59a59c3f76cb477600 100644 (file)
@@ -213,8 +213,7 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
 {
        struct inode * inode = (struct inode *) foo;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) ==
-           SLAB_CTOR_CONSTRUCTOR)
+       if (flags & SLAB_CTOR_CONSTRUCTOR)
                inode_init_once(inode);
 }