[PATCH] xfstests 273: Create lost+found to pass _check_scratch_fs
Eryu Guan
guaneryu at gmail.com
Tue Jan 10 10:37:49 CST 2012
fsck.extN will complain lost+found is missing and fail 273.
So create lost+found explicitly after removing everything in
$SCRATCH_MNT.
Signed-off-by: Eryu Guan <guaneryu at gmail.com>
---
273 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/273 b/273
index 2965132..9ecb2d3 100755
--- a/273
+++ b/273
@@ -36,6 +36,7 @@ _cleanup()
{
cd /
rm -rf $SCRATCH_MNT/* $tmp.*
+ mkdir -p $SCRATCH_MNT/lost+found
_scratch_unmount
}
@@ -107,6 +108,7 @@ _do_workload()
_pid=1
rm -rf $SCRATCH_MNT/*
+ mkdir -p $SCRATCH_MNT/lost+found
_threads_set
_file_create
--
1.7.8.2
More information about the xfs
mailing list