diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2018-06-29 19:36:57 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2018-08-03 16:03:32 -0400 |
commit | 5bef915104f32c9d0bb5df6e86a98e31cb524e9a (patch) | |
tree | 51c6c5bbbd4cd30d9d6dc65f8c78999d6eca9754 /fs/jfs/super.c | |
parent | e950564b97fd0f541b02eb207685d0746f5ecf29 (diff) | |
download | linux-stable-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.tar.gz linux-stable-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.tar.bz2 linux-stable-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.zip |
new helper: inode_fake_hash()
open-coded in a quite a few places...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/jfs/super.c')
-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 1b9264fd54b6..5403ece57dba 100644 --- a/fs/jfs/super.c +++ b/fs/jfs/super.c @@ -581,7 +581,7 @@ static int jfs_fill_super(struct super_block *sb, void *data, int silent) inode->i_ino = 0; inode->i_size = i_size_read(sb->s_bdev->bd_inode); inode->i_mapping->a_ops = &jfs_metapage_aops; - hlist_add_fake(&inode->i_hash); + inode_fake_hash(inode); mapping_set_gfp_mask(inode->i_mapping, GFP_NOFS); sbi->direct_inode = inode; |