]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/cifs/cifsfs.c
Remove SLAB_CTOR_CONSTRUCTOR
[karo-tx-linux.git] / fs / cifs / cifsfs.c
index 8568e100953cd52f2cee789fd986356e2106d5a4..d38c69b591cfe0907d3d9e08bdb0da0380321709 100644 (file)
@@ -701,10 +701,8 @@ cifs_init_once(void *inode, struct kmem_cache * cachep, unsigned long flags)
 {
        struct cifsInodeInfo *cifsi = inode;
 
-       if (flags & SLAB_CTOR_CONSTRUCTOR) {
-               inode_init_once(&cifsi->vfs_inode);
-               INIT_LIST_HEAD(&cifsi->lockList);
-       }
+       inode_init_once(&cifsi->vfs_inode);
+       INIT_LIST_HEAD(&cifsi->lockList);
 }
 
 static int