提交 31785537 编写于 作者: D 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: NDarrick J. Wong <djwong@kernel.org>
Reviewed-by: NDave Chinner <dchinner@redhat.com>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册