From 6834333589af5f3080eca906f0b2e54df8d02285 Mon Sep 17 00:00:00 2001 From: Dongsheng Yang Date: Tue, 4 Aug 2015 14:10:49 +1000 Subject: [PATCH] generic/038: mount scratch before checking it We want to check the size of scratch with _require_fs_space, but we have to mount it firstly. Reported-by: Zeng Linggang Signed-off-by: Dongsheng Yang Reviewed-by: Eryu Guan Signed-off-by: Dave Chinner --- tests/generic/038 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/generic/038 b/tests/generic/038 index 7bfebfc6..4d108cfc 100755 --- a/tests/generic/038 +++ b/tests/generic/038 @@ -121,8 +121,8 @@ create_files() } _scratch_mkfs >>$seqres.full 2>&1 -_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _scratch_mount +_require_fs_space $SCRATCH_MNT $((10 * 1024 * 1024)) _require_batched_discard $SCRATCH_MNT for ((i = 0; i < $((4 * $LOAD_FACTOR)); i++)); do -- 2.39.5