aboutsummaryrefslogtreecommitdiffstats
path: root/fs/hpfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/hpfs/super.c')
-rw-r--r--fs/hpfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/hpfs/super.c b/fs/hpfs/super.c
index e0174e338526..1b95f39fbc37 100644
--- a/fs/hpfs/super.c
+++ b/fs/hpfs/super.c
@@ -176,8 +176,7 @@ static void init_once(void * foo, struct kmem_cache * cachep, unsigned long flag
176{ 176{
177 struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo; 177 struct hpfs_inode_info *ei = (struct hpfs_inode_info *) foo;
178 178
179 if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == 179 if (flags & SLAB_CTOR_CONSTRUCTOR) {
180 SLAB_CTOR_CONSTRUCTOR) {
181 mutex_init(&ei->i_mutex); 180 mutex_init(&ei->i_mutex);
182 mutex_init(&ei->i_parent_mutex); 181 mutex_init(&ei->i_parent_mutex);
183 inode_init_once(&ei->vfs_inode); 182 inode_init_once(&ei->vfs_inode);