]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit78dc2346ee3522f23e4bf65c8f64806e4f5a7d49
tree9988331693952348503d64764ff81dc3b5d801ab
parenta9e6141e3eb686f0b63a6525ff79dced67194b95
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