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

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]



From: Darrick J. Wong <djwong@xxxxxxxxxx>

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


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_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




[Index of Archives]     [Linux Filesystems Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux