summaryrefslogtreecommitdiffstats
path: root/fs/hfs
diff options
context:
space:
mode:
authorAl Viro2018-06-30 01:36:57 +0200
committerAl Viro2018-08-03 22:03:32 +0200
commit5bef915104f32c9d0bb5df6e86a98e31cb524e9a (patch)
tree51c6c5bbbd4cd30d9d6dc65f8c78999d6eca9754 /fs/hfs
parentvfs: don't evict uninitialized inode (diff)
downloadkernel-qcow2-linux-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.tar.gz
kernel-qcow2-linux-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.tar.xz
kernel-qcow2-linux-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/hfs')
-rw-r--r--fs/hfs/inode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 2a16111d312f..a2dfa1b2a89c 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -541,7 +541,7 @@ static struct dentry *hfs_file_lookup(struct inode *dir, struct dentry *dentry,
HFS_I(inode)->rsrc_inode = dir;
HFS_I(dir)->rsrc_inode = inode;
igrab(dir);
- hlist_add_fake(&inode->i_hash);
+ inode_fake_hash(inode);
mark_inode_dirty(inode);
dont_mount(dentry);
out: