From: Darrick J. Wong Date: Tue, 15 Sep 2020 01:44:43 +0000 (-0700) Subject: xfs: refactor _xfs_check calls to the scratch device X-Git-Tag: v2022.05.01~679 X-Git-Url: http://git.apps.os.sepia.ceph.com/?p=xfstests-dev.git;a=commitdiff_plain;h=dabc002bcfe61822857135ff882d6aa43173337e xfs: refactor _xfs_check calls to the scratch device Use _scratch_xfs_check, not _xfs_check $SCRATCH_DEV. Signed-off-by: Darrick J. Wong Reviewed-by: Zorro Lang Reviewed-by: Christoph Hellwig Signed-off-by: Eryu Guan --- diff --git a/tests/xfs/291 b/tests/xfs/291 index 8a4b1354..adef2536 100755 --- a/tests/xfs/291 +++ b/tests/xfs/291 @@ -102,7 +102,7 @@ done _scratch_unmount # Can xfs_repair and xfs_check cope with this monster? _scratch_xfs_repair >> $seqres.full 2>&1 || _fail "xfs_repair failed" -_xfs_check $SCRATCH_DEV >> $seqres.full 2>&1 || _fail "xfs_check failed" +_scratch_xfs_check >> $seqres.full 2>&1 || _fail "xfs_check failed" # Yes they can! Now... # Can xfs_metadump cope with this monster?