]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
xfs_db: don't abort when bmapping on a non-extents/bmbt fork
authorDarrick J. Wong <djwong@kernel.org>
Mon, 24 Feb 2025 18:21:58 +0000 (10:21 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Tue, 25 Feb 2025 17:16:00 +0000 (09:16 -0800)
commit37ebf93592e9607c6d64f3afe2f02d14b6edcd2a
tree96ed785aa6e7209606aed378b38a6d09954cd748
parent4b8d71bef9ee43316bf57b9d2b02e0c067b0d233
xfs_db: don't abort when bmapping on a non-extents/bmbt fork

We're going to introduce new fork formats, so let's fix the problem that
xfs_db's bmap command aborts when the fork format isn't one of the
existing ones.

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