• C
    hfsplus: fix HFSPLUS_SB calling convention · dd73a01a
    Christoph Hellwig 提交于
    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: NChristoph Hellwig <hch@tuxera.com>
    dd73a01a
ioctl.c 5.2 KB