xfs: convert XFS_IFORK_PTR to a static inline helper
authorDarrick J. Wong <djwong@kernel.org>
Sat, 9 Jul 2022 17:56:05 +0000 (10:56 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Sat, 9 Jul 2022 22:17:21 +0000 (15:17 -0700)
commit732436ef916b4f338d672ea56accfdb11e8d0732
tree7bf08497e6fc504c38c3b6091d832bda615dfd5c
parent0f38063d7a38015a47ca1488406bf21e0effe80e
xfs: convert XFS_IFORK_PTR to a static inline helper

We're about to make this logic do a bit more, so convert the macro to a
static inline function for better typechecking and fewer shouty macros.
No functional changes here.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
23 files changed:
fs/xfs/libxfs/xfs_attr_leaf.c
fs/xfs/libxfs/xfs_bmap.c
fs/xfs/libxfs/xfs_bmap_btree.c
fs/xfs/libxfs/xfs_btree.c
fs/xfs/libxfs/xfs_dir2_block.c
fs/xfs/libxfs/xfs_dir2_sf.c
fs/xfs/libxfs/xfs_inode_fork.c
fs/xfs/libxfs/xfs_inode_fork.h
fs/xfs/libxfs/xfs_symlink_remote.c
fs/xfs/scrub/bmap.c
fs/xfs/scrub/dabtree.c
fs/xfs/scrub/dir.c
fs/xfs/scrub/quota.c
fs/xfs/scrub/symlink.c
fs/xfs/xfs_bmap_util.c
fs/xfs/xfs_dir2_readdir.c
fs/xfs/xfs_icache.c
fs/xfs/xfs_inode.c
fs/xfs/xfs_inode.h
fs/xfs/xfs_ioctl.c
fs/xfs/xfs_iomap.c
fs/xfs/xfs_qm.c
fs/xfs/xfs_reflink.c