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 <xuyang2018.jy@cn.fujitsu.com>
Reviewed-by: Darrick J. Wong <darrick.wong@oracle.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Yang Xu
2020-10-16 17:31:23 +08:00
committed by Eryu Guan
parent 2b5cf241ec
commit 64e86f4454
+1 -1
View File
@@ -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