mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
btrfs/079: Fix wrong value passed to available space check
Wrong value is passed to _require_fs_space, which should be in unit of kilobyte(1024), but passed in unit of gigabyte(1024^3). Reviewed-by: David Sterba <dsterba@suse.cz> Signed-off-by: Qu Wenruo <quwenruo@cn.fujitsu.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ rm -f $seqres.full
|
||||
|
||||
_scratch_mkfs >>$seqres.full 2>&1
|
||||
_scratch_mount
|
||||
_require_fs_space $SCRATCH_MNT $(($filesize / 1024 / 1024 / 1024))
|
||||
_require_fs_space $SCRATCH_MNT $(($filesize / 1024))
|
||||
$XFS_IO_PROG -f -c "falloc 0 $filesize" $testfile
|
||||
|
||||
dd_work() {
|
||||
|
||||
Reference in New Issue
Block a user