• Christoph Hellwig's avatar
    hfsplus: fix HFSPLUS_SB calling convention · dd73a01a
    Christoph Hellwig authored
    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: default avatarChristoph Hellwig <hch@tuxera.com>
    dd73a01a
btree.c 7.85 KB