Commit 31785537 authored by Darrick J. Wong's avatar Darrick J. Wong

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: default avatarDarrick J. Wong <djwong@kernel.org>
Reviewed-by: default avatarDave Chinner <dchinner@redhat.com>
parent f23c4044
...@@ -335,6 +335,8 @@ xchk_bmap_iextent_xref( ...@@ -335,6 +335,8 @@ xchk_bmap_iextent_xref(
case XFS_COW_FORK: case XFS_COW_FORK:
xchk_xref_is_cow_staging(info->sc, agbno, xchk_xref_is_cow_staging(info->sc, agbno,
irec->br_blockcount); irec->br_blockcount);
xchk_xref_is_not_shared(info->sc, agbno,
irec->br_blockcount);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment