new helper: inode_fake_hash()
open-coded in a quite a few places...
Signed-off-by: Al Viro <[email protected]>
diff --git a/fs/hfs/inode.c b/fs/hfs/inode.c
index 2a16111d..a2dfa1b 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: