summaryrefslogtreecommitdiffstats
path: root/fs/hfs/inode.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2010-10-23 21:26:21 +0200
committerAl Viro <viro@zeniv.linux.org.uk>2010-10-26 03:24:16 +0200
commit89b0fc38cca4e6c92a90b58960881ffc5dddd89c (patch)
tree53b63554d99ac576a8c0c201e85b0e575c96d043 /fs/hfs/inode.c
parentlist.h: new helper - hlist_add_fake() (diff)
downloadlinux-89b0fc38cca4e6c92a90b58960881ffc5dddd89c.tar.xz
linux-89b0fc38cca4e6c92a90b58960881ffc5dddd89c.zip
switch hfs to hlist_add_fake()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/hfs/inode.c')
-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 397b7adc7ce6..dffb4e996643 100644
--- a/fs/hfs/inode.c
+++ b/fs/hfs/inode.c
@@ -524,7 +524,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_head(&inode->i_hash, &HFS_SB(dir->i_sb)->rsrc_inodes);
+ hlist_add_fake(&inode->i_hash);
mark_inode_dirty(inode);
out:
d_add(dentry, inode);