]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: convert XFS_IFORK_PTR to a static inline helper
authorDarrick J. Wong <djwong@kernel.org>
Wed, 24 Aug 2022 08:44:55 +0000 (10:44 +0200)
committerCarlos Maiolino <cem@kernel.org>
Tue, 30 Aug 2022 08:19:38 +0000 (10:19 +0200)
commit722e81c1278d640efcbc7935ebe276db6f9700a2
treeee60f59c250d06e735faedc7fa6f676cb727ba5e
parent798d43495df2c8a09a73b8e868a71d8f2fd81d5e
xfs: convert XFS_IFORK_PTR to a static inline helper

Source kernel commit: 732436ef916b4f338d672ea56accfdb11e8d0732

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>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
13 files changed:
db/namei.c
include/xfs_inode.h
libxfs/xfs_attr_leaf.c
libxfs/xfs_bmap.c
libxfs/xfs_bmap_btree.c
libxfs/xfs_btree.c
libxfs/xfs_dir2_block.c
libxfs/xfs_dir2_sf.c
libxfs/xfs_inode_fork.c
libxfs/xfs_inode_fork.h
libxfs/xfs_symlink_remote.c
repair/phase6.c
repair/quotacheck.c