]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit - libxfs/xfs_bmap.c
xfs: rename xfs_verify_rtext to xfs_verify_rtbext
authorDarrick J. Wong <djwong@kernel.org>
Mon, 12 Feb 2024 14:16:20 +0000 (15:16 +0100)
committerCarlos Maiolino <cem@kernel.org>
Thu, 15 Feb 2024 11:56:43 +0000 (12:56 +0100)
commit95bc0a4d2c72851c2646ff3ebaaf7f64493c6951
tree9cd70a61bce9edc0756f90434bafdf5cbf933f94
parent3fb28b11a5a5b8586f6668f2d910c376d17ad19f
xfs: rename xfs_verify_rtext to xfs_verify_rtbext

Source kernel commit: 3d2b6d034f0feb7741b313f978a2fe45e917e1be

This helper function validates that a range of *blocks* in the
realtime section is completely contained within the realtime section.
It does /not/ validate ranges of *rtextents*.  Rename the function to
avoid suggesting that it does, and change the type of the @len parameter
since xfs_rtblock_t is a position unit, not a length unit.

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_bmap.c
libxfs/xfs_types.c
libxfs/xfs_types.h