xfs: cross-reference rmap records with refcount btrees
authorDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:39 +0000 (19:00 -0700)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 12 Apr 2023 02:00:39 +0000 (19:00 -0700)
commit4f5e304248ab4939e9aef58244041c194f01f0b5
treeee3dca1e9392e2903b23e0aeff46d8abc18d56fe
parent0abe6fc53bdb10a5b0b5235043ca1acc749fe069
xfs: cross-reference rmap records with refcount btrees

Strengthen the rmap btree record checker a little more by comparing
OWN_REFCBT reverse mappings against the refcount btrees.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/scrub/rmap.c