xfs/521,530: refactor scratch fs check

Use the existing _check_scratch_fs helper to check the (modified)
scratch filesystem in these tests.

Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
Darrick J. Wong
2021-04-13 18:04:48 -07:00
committed by Eryu Guan
parent d57433fc99
commit 4e9ffa1316
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ echo "Create more copies to make sure the bitmap really works"
cp -p $testdir/original $testdir/copy3
echo "Check filesystem"
_check_xfs_filesystem $SCRATCH_DEV none $rtdev
_check_scratch_fs
# success, all done
status=0
+1 -1
View File
@@ -114,7 +114,7 @@ for rtino in rbmino rsumino; do
done
echo "Check filesystem"
_check_xfs_filesystem $SCRATCH_DEV none $rtdev
_check_scratch_fs
losetup -d $rtdev
rm -f $TEST_DIR/$seq.rtvol