On Thu, Jul 30, 2015 at 02:08:09PM +0800, Dongsheng Yang wrote: > We want to check the size of scratch with _require_fs_space, > but we have to mount it firstly. > > Reported-by: Zeng Linggang <zenglg.jy@xxxxxxxxxxxxxx> > Signed-off-by: Dongsheng Yang <yangds.fnst@xxxxxxxxxxxxxx> Reviewed-by: Eryu Guan <eguan@xxxxxxxxxx> > --- > tests/generic/038 | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tests/generic/038 b/tests/generic/038 > index 7bfebfc..4d108cf 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 > -- > 1.8.4.2 > > -- > To unsubscribe from this list: send the line "unsubscribe fstests" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html -- To unsubscribe from this list: send the line "unsubscribe fstests" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html