xfs: check that CoW fork extents are not shared
authorDarrick J. Wong <djwong@kernel.org>
Mon, 7 Nov 2022 01:03:21 +0000 (17:03 -0800)
committerDarrick J. Wong <djwong@kernel.org>
Wed, 16 Nov 2022 23:25:04 +0000 (15:25 -0800)
commit31785537010a91a0d1dc403e5d049a38a3d4a30b
tree3f41c7cb7da4ed6e37ccb4bbb81891179adcd9b7
parentf23c40443d1c2af87c99c1424f9e43bbd7307f92
xfs: check that CoW fork extents are not shared

Ensure that extents in an inode's CoW fork are not marked as shared in
the refcount btree.

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