提交 9bb8730e 编写于 作者: A 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: NAl Viro <viro@zeniv.linux.org.uk>
上级 6b933de6
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册