remove duplicate umount $scratch_dev in various tests

_require_scratch unmounts the SCRATCH_DEV. So it is not necessery
to do it explicitly at the first time.

Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
Dmitry Monakhov
2011-11-08 12:41:55 +04:00
committed by Christoph Hellwig
parent d02aebc9bb
commit fcd8ef4251
6 changed files with 4 additions and 10 deletions
+1 -2
View File
@@ -64,10 +64,9 @@ _workout()
# real QA test starts here
_supported_fs generic
_supported_os Linux
_require_scratch
_need_to_be_root
_require_scratch
umount $SCRATCH_DEV 2>/dev/null
_scratch_mkfs_sized $((512 * 1024 * 1024)) >> $seq.full 2>&1
_scratch_mount