Here will check the return code of mount option. So update it
to use _try_scratch_mount.
Signed-off-by: Xiaoli Feng <xifeng@redhat.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
export MOUNT_OPTIONS="$SAVE_MOUNT_OPTIONS"
_scratch_unmount >> $seqres.full 2>&1
-_scratch_mount "-o dax" >> $seqres.full 2>&1
+_try_scratch_mount "-o dax" >> $seqres.full 2>&1
if [[ $? != 0 ]]; then
# _require_scratch_dax already verified that we could mount with DAX.