From 64e86f4454947498147308a11fe7f93d06a68b99 Mon Sep 17 00:00:00 2001 From: Yang Xu Date: Fri, 16 Oct 2020 17:31:23 +0800 Subject: [PATCH] xfs/521: use _try_scratch_mount instead of _scratch_mount Here will check the return code of mount option. So update it to use _try_scratch_mount. Signed-off-by: Yang Xu Reviewed-by: Darrick J. Wong Signed-off-by: Eryu Guan --- tests/xfs/521 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/xfs/521 b/tests/xfs/521 index 3aaa1296..e6c417b8 100755 --- a/tests/xfs/521 +++ b/tests/xfs/521 @@ -49,7 +49,7 @@ echo "Format and mount 100m rt volume" export USE_EXTERNAL=yes export SCRATCH_RTDEV=$rtdev _scratch_mkfs -r size=100m > $seqres.full -_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" +_try_scratch_mount || _notrun "Could not mount scratch with synthetic rt volume" testdir=$SCRATCH_MNT/test-$seq mkdir $testdir -- 2.25.1