From: Darrick J. Wong <darrick.wong@xxxxxxxxxx> Reorder the order in which we tweak AGF fields to avoid falling afoul of the new AGF sanity checks. Signed-off-by: Darrick J. Wong <darrick.wong@xxxxxxxxxx> --- tests/xfs/307 | 2 +- tests/xfs/308 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/xfs/307 b/tests/xfs/307 index 705643da..2f517952 100755 --- a/tests/xfs/307 +++ b/tests/xfs/307 @@ -115,8 +115,8 @@ debris_bno=$((bno + len - debris_len)) echo "Remove the extent from the freesp btrees" _set_agf_data "recs[1].blockcount" $((len - debris_len)) -c 'addr bnoroot' _set_agf_data "recs[1].blockcount" $((len - debris_len)) -c 'addr cntroot' -_set_agf_data freeblks $((agf_freeblks - debris_len)) _set_agf_data longest $((len - debris_len)) +_set_agf_data freeblks $((agf_freeblks - debris_len)) _set_sb_data fdblocks $((sb_fdblocks - debris_len)) echo "Add the extent to the refcount btree" diff --git a/tests/xfs/308 b/tests/xfs/308 index f809b499..569a25f1 100755 --- a/tests/xfs/308 +++ b/tests/xfs/308 @@ -115,8 +115,8 @@ debris_bno=$((bno + len - debris_len)) echo "Remove the extent from the freesp btrees" _set_agf_data "recs[1].blockcount" $((len - debris_len)) -c 'addr bnoroot' _set_agf_data "recs[1].blockcount" $((len - debris_len)) -c 'addr cntroot' -_set_agf_data freeblks $((agf_freeblks - debris_len)) _set_agf_data longest $((len - debris_len)) +_set_agf_data freeblks $((agf_freeblks - debris_len)) _set_sb_data fdblocks $((sb_fdblocks - debris_len)) echo "Add the extent to the refcount btree"