aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jfs/super.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/jfs/super.c')
-rw-r--r--fs/jfs/super.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c
index 52d73d54a931..ea9dc3e65dcf 100644
--- a/fs/jfs/super.c
+++ b/fs/jfs/super.c
@@ -752,8 +752,7 @@ static void init_once(void *foo, struct kmem_cache * cachep, unsigned long flags
752{ 752{
753 struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo; 753 struct jfs_inode_info *jfs_ip = (struct jfs_inode_info *) foo;
754 754
755 if ((flags & (SLAB_CTOR_VERIFY | SLAB_CTOR_CONSTRUCTOR)) == 755 if (flags & SLAB_CTOR_CONSTRUCTOR) {
756 SLAB_CTOR_CONSTRUCTOR) {
757 memset(jfs_ip, 0, sizeof(struct jfs_inode_info)); 756 memset(jfs_ip, 0, sizeof(struct jfs_inode_info));
758 INIT_LIST_HEAD(&jfs_ip->anon_inode_list); 757 INIT_LIST_HEAD(&jfs_ip->anon_inode_list);
759 init_rwsem(&jfs_ip->rdwrlock); 758 init_rwsem(&jfs_ip->rdwrlock);