diff mbox series

[1/9] xfs/506: fix regression on freshly quotachecked filesystem

Message ID 161836227616.2754991.13243990456152675669.stgit@magnolia (mailing list archive)
State New, archived
Headers show
Series fstests: random fixes | expand

Commit Message

Darrick J. Wong April 14, 2021, 1:04 a.m. UTC
From: Darrick J. Wong <djwong@kernel.org>

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>
 tests/xfs/506 |    1 +
 1 file changed, 1 insertion(+)


Christoph Hellwig April 14, 2021, 6:12 a.m. UTC | #1
Looks good,

Reviewed-by: Christoph Hellwig <hch@lst.de>
diff mbox series


diff --git a/tests/xfs/506 b/tests/xfs/506
index ddda8614..7e553849 100755
--- a/tests/xfs/506
+++ b/tests/xfs/506
@@ -36,6 +36,7 @@  rm -f $seqres.full
 _scratch_mkfs > $seqres.full 2>&1
+_scratch_cycle_mount	# make sure we haven't run quotacheck on this mount
 # Haven't checked anything, it should tell us to run scrub