xfs/506: fix regression on freshly quotachecked filesystem

The first thing this test checks is that the health command reports that
nothing has been checked.  This isn't true if we regenerated the quota
counts when we mounted the filesystem (and hence they're marked healthy
and checked), so cycle the mount to get rid of that state.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2021-04-13 18:04:36 -07:00
committed by Eryu Guan
parent c188f26b2b
commit f7a8c5c4ad
+1
View File
@@ -36,6 +36,7 @@ rm -f $seqres.full
_scratch_mkfs > $seqres.full 2>&1
_scratch_mount
_scratch_cycle_mount # make sure we haven't run quotacheck on this mount
# Haven't checked anything, it should tell us to run scrub
$XFS_SPACEMAN_PROG -c "health" $SCRATCH_MNT