diff options
Diffstat (limited to 'fs/jffs2/super.c')
-rw-r--r-- | fs/jffs2/super.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jffs2/super.c b/fs/jffs2/super.c index e51164a8a8d4..45368f8bbe72 100644 --- a/fs/jffs2/super.c +++ b/fs/jffs2/super.c | |||
@@ -47,8 +47,7 @@ static void jffs2_i_init_once(void * foo, struct kmem_cache * cachep, unsigned l | |||
47 | { | 47 | { |
48 | struct jffs2_inode_info *ei = (struct jffs2_inode_info *) foo; | 48 | struct jffs2_inode_info *ei = (struct jffs2_inode_info *) foo; |
49 | 49 | ||
50 | if ((flags & (SLAB_CTOR_VERIFY|SLAB_CTOR_CONSTRUCTOR)) == | 50 | if (flags & SLAB_CTOR_CONSTRUCTOR) { |
51 | SLAB_CTOR_CONSTRUCTOR) { | ||
52 | init_MUTEX(&ei->sem); | 51 | init_MUTEX(&ei->sem); |
53 | inode_init_once(&ei->vfs_inode); | 52 | inode_init_once(&ei->vfs_inode); |
54 | } | 53 | } |