hfsplus: fix HFSPLUS_I calling convention
authorChristoph Hellwig <hch@tuxera.com>
Fri, 1 Oct 2010 03:43:31 +0000 (05:43 +0200)
committerChristoph Hellwig <hch@lst.de>
Fri, 1 Oct 2010 03:43:31 +0000 (05:43 +0200)
commit6af502de224c3742936d54eee7e3690c09822934
tree9988331693952348503d64764ff81dc3b5d801ab
parentdd73a01a30d729e8fa6f829c4582650e258e36f9
hfsplus: fix HFSPLUS_I calling convention

HFSPLUS_I doesn't return a pointer to the hfsplus-specific inode
information like all other FOO_I macros, but dereference the pointer in a way
that made it look like a direct struct derefence.  This only works as long
as the HFSPLUS_I macro is used directly and prevents us from keepig a local
hfsplus_inode_info pointer.  Fix the calling convention and introduce a local
hip variable in all functions that use it constantly.

Signed-off-by: Christoph Hellwig <hch@tuxera.com>
fs/hfsplus/btree.c
fs/hfsplus/catalog.c
fs/hfsplus/dir.c
fs/hfsplus/extents.c
fs/hfsplus/hfsplus_fs.h
fs/hfsplus/inode.c
fs/hfsplus/ioctl.c
fs/hfsplus/super.c