]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit653947e8907c45ff11dd99d4c892cef9bacc0fe8
tree7bf08497e6fc504c38c3b6091d832bda615dfd5c
parent4e0f04eac8ff15d5bceb6f8d3192a6d35332aa98
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