Commit 9bb8730e authored by Al Viro's avatar Al Viro

jfs: don't hash direct inode

hlist_add_fake(inode->i_hash), same as for the rest of special ones...
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 6b933de6
...@@ -550,7 +550,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent) ...@@ -550,7 +550,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent)
inode->i_ino = 0; inode->i_ino = 0;
inode->i_size = sb->s_bdev->bd_inode->i_size; inode->i_size = sb->s_bdev->bd_inode->i_size;
inode->i_mapping->a_ops = &jfs_metapage_aops; 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); mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS);
sbi->direct_inode = inode; sbi->direct_inode = inode;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment