jfs: don't hash direct inode
authorAl Viro <viro@zeniv.linux.org.uk>
Wed, 3 Sep 2014 03:53:04 +0000 (23:53 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Thu, 9 Oct 2014 06:39:13 +0000 (02:39 -0400)
hlist_add_fake(inode->i_hash), same as for the rest of special ones...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
fs/jfs/super.c

index adf8cb045b9efb7a038b87f9f98d75c84cf1b0ad..93e897e588a88d0b9e8c3cb589451eaed3a4874b 100644 (file)
@@ -550,7 +550,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
        inode->i_ino = 0;
        inode->i_size = sb->s_bdev->bd_inode->i_size;
        inode->i_mapping->a_ops = &jfs_metapage_aops;
-       insert_inode_hash(inode);
+       hlist_add_fake(&inode->i_hash);
        mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS);
 
        sbi->direct_inode = inode;