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/hfs | |
parent | e950564b97fd0f541b02eb207685d0746f5ecf29 (diff) | |
download | linux-5bef915104f32c9d0bb5df6e86a98e31cb524e9a.tar.bz2 |
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.c | 2 |
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: |