btrfs: add minimal file system size check
authorNaohiro Aota <naohiro.aota@wdc.com>
Wed, 11 Aug 2021 15:12:28 +0000 (00:12 +0900)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:25:34 +0000 (23:25 +0800)
commit9ca8d2ac5e02f05e8cd5712cb6ab96aec1f2eb27
tree70a2f6554f65590ca44e3577adaebec7c8f1ae22
parentfc5dc62bdd5da39510ad839e2224307c9216bc98
btrfs: add minimal file system size check

Some btrfs tests call _scratch_pool_mkfs or _scratch_mkfs by themselves to
specify file system size limit. It slips through the check in
_scratch_mkfs_sized(). Let's add size check call for each of them.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/btrfs/141
tests/btrfs/142
tests/btrfs/143
tests/btrfs/150
tests/btrfs/151
tests/btrfs/156
tests/btrfs/157
tests/btrfs/158
tests/btrfs/175