-
- Downloads
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 <hch@tuxera.com>
Showing
- fs/hfsplus/bitmap.c 11 additions, 9 deletionsfs/hfsplus/bitmap.c
- fs/hfsplus/btree.c 4 additions, 4 deletionsfs/hfsplus/btree.c
- fs/hfsplus/catalog.c 12 additions, 13 deletionsfs/hfsplus/catalog.c
- fs/hfsplus/dir.c 21 additions, 19 deletionsfs/hfsplus/dir.c
- fs/hfsplus/extents.c 20 additions, 17 deletionsfs/hfsplus/extents.c
- fs/hfsplus/hfsplus_fs.h 1 addition, 2 deletionsfs/hfsplus/hfsplus_fs.h
- fs/hfsplus/inode.c 31 additions, 26 deletionsfs/hfsplus/inode.c
- fs/hfsplus/ioctl.c 2 additions, 2 deletionsfs/hfsplus/ioctl.c
- fs/hfsplus/options.c 1 addition, 1 deletionfs/hfsplus/options.c
- fs/hfsplus/part_tbl.c 3 additions, 2 deletionsfs/hfsplus/part_tbl.c
- fs/hfsplus/super.c 80 additions, 71 deletionsfs/hfsplus/super.c
- fs/hfsplus/unicode.c 8 additions, 8 deletionsfs/hfsplus/unicode.c
- fs/hfsplus/wrapper.c 15 additions, 15 deletionsfs/hfsplus/wrapper.c
Loading
Please register or sign in to comment