diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2014-09-03 05:53:04 +0200 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2014-10-09 08:39:13 +0200 |
commit | 9bb8730ed3d2658c6dd49b7f811231e2a0a2e3ed (patch) | |
tree | de3ff42e3320ea1a106cef5a871bbdea371aa2a3 /fs | |
parent | [s390] remove pointless assignment of ->f_op in vmlogrdr ->open() (diff) | |
download | linux-9bb8730ed3d2658c6dd49b7f811231e2a0a2e3ed.tar.xz linux-9bb8730ed3d2658c6dd49b7f811231e2a0a2e3ed.zip |
jfs: don't hash direct inode
hlist_add_fake(inode->i_hash), same as for the rest of special ones...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/jfs/super.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/jfs/super.c b/fs/jfs/super.c index adf8cb045b9e..93e897e588a8 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -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; |