summaryrefslogtreecommitdiff
tag namerefactor-rtbitmap-macros-6.7_2023-10-19 (5b01a7db2311fcf63a3c84d9434ae0ab3535b683)
tag date2023-10-19 09:02:25 -0700
tagged byDarrick J. Wong <djwong@kernel.org>
tagged objectcommit d0448fe76a...
xfs: refactor rtbitmap/summary macros [v1.1]
In preparation for adding block headers and enforcing endian order in rtbitmap and rtsummary blocks, replace open-coded geometry computations and fugly macros with proper helper functions that can be typechecked. Soon we'll be needing to add more complex logic to the helpers. v1.1: various cleanups suggested by hch With a bit of luck, this should all go splendidly. Signed-off-by: Darrick J. Wong <djwong@kernel.org> -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQQ2qTKExjcn+O1o2YRKO3ySh0YRpgUCZTFTEQAKCRBKO3ySh0YR pn5HAP436EI/oXPv2LN6YgYXgbVEzhFdS4CsVE75L9Vs1Wux0wEAsKLyTNC/Re4d rhpraQBZty0/YbTSzvXS0IxUIeOq7Qk= =FzAh -----END PGP SIGNATURE-----