xfs: teach scrub to flag non-extents format cow forks
authorDarrick J. Wong <djwong@kernel.org>
Mon, 7 Nov 2022 01:03:22 +0000 (17:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 16 Nov 2022 23:25:05 +0000 (15:25 -0800)
commit5eef46358fae1a6018d9f886a3ecd30e843728dd
tree1750a020bb4d301baae409bc8214db725091e013
parent31785537010a91a0d1dc403e5d049a38a3d4a30b
xfs: teach scrub to flag non-extents format cow forks

CoW forks only exist in memory, which means that they can only ever have
an incore extent tree.  Hence they must always be FMT_EXTENTS, so check
this when we're scrubbing them.

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