]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs: convert the rtbitmap block and bit macros to static inline functions
authorDarrick J. Wong <djwong@kernel.org>
Mon, 12 Feb 2024 14:25:20 +0000 (15:25 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commit75e15fbcbd0aab6d2b3bd7de6ddb0a38ea8ad1e6
tree21afe82f59581e8cc8f754fb43534919c6d0a02c
parent5afaf8203dae0a9c26a4d7c7f989a7214768d69b
xfs: convert the rtbitmap block and bit macros to static inline functions

Source kernel commit: 90d98a6ada1da0f8797ff3f5adafd175dd8c0a81

Replace these macros with typechecked helper functions.  Eventually
we're going to add more logic to the helpers and it'll be easier if we
don't have to macro it up.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Carlos Maiolino <cem@kernel.org>
libxfs/xfs_format.h
libxfs/xfs_rtbitmap.c
libxfs/xfs_rtbitmap.h