]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: enable the rtblock and rtextent commands for segmented rt block numbers
authorDarrick J. Wong <djwong@kernel.org>
Thu, 21 Nov 2024 00:24:36 +0000 (16:24 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 24 Dec 2024 02:01:33 +0000 (18:01 -0800)
commitcffeab56210546d11a9642f25f5dfca74b7cc4d9
tree436630788e15d69c8645cb658443b55a8c8aee8a
parent5ef84567a5f9377d7a53346029b3f6e5878b58a1
xfs_db: enable the rtblock and rtextent commands for segmented rt block numbers

Now that xfs_rtblock_t can be a segmented address, fix the validation in
rtblock_f to handle the inputs correctly; and fix rtextent_f to do all
of its conversions in linear address space.

Signed-off-by: "Darrick J. Wong" <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
db/block.c