From: Christoph Hellwig Date: Fri, 1 Oct 2010 03:42:59 +0000 (+0200) Subject: hfsplus: fix HFSPLUS_SB calling convention X-Git-Tag: v2.6.37-rc1~222^2~22 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd73a01a30d729e8fa6f829c4582650e258e36f9;p=pandora-kernel.git hfsplus: fix HFSPLUS_SB calling convention HFSPLUS_SB doesn't return a pointer to the hfsplus-specific superblock information like all other FOO_SB 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_SB macro is used directly and prevents us from keepig a local hfsplus_sb_info pointer. Fix the calling convention and introduce a local sbi variable in all functions that use it constantly. Signed-off-by: Christoph Hellwig --- Reading git-diff-tree failed