]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - fs/hfsplus/super.c
Merge master.kernel.org:/home/rmk/linux-2.6-arm
[karo-tx-linux.git] / fs / hfsplus / super.c
index 5a282f64c637e5188d50495c127959cf603d71a2..ebd1b380cbbc9d7dc839ca7337efb5073da8cd86 100644 (file)
@@ -11,7 +11,6 @@
 #include <linux/init.h>
 #include <linux/pagemap.h>
 #include <linux/fs.h>
-#include <linux/sched.h>
 #include <linux/slab.h>
 #include <linux/vfs.h>
 #include <linux/nls.h>
@@ -471,8 +470,7 @@ static void hfsplus_init_once(void *p, struct kmem_cache *cachep, unsigned long
 {
        struct hfsplus_inode_info *i = p;
 
-       if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == SLAB_CTOR_CONSTRUCTOR)
-               inode_init_once(&i->vfs_inode);
+       inode_init_once(&i->vfs_inode);
 }
 
 static int __init init_hfsplus_fs(void)