]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
common/rc: fix blocksize detection for btrfs
authorNaohiro Aota <naohiro.aota@wdc.com>
Wed, 11 Aug 2021 15:12:26 +0000 (00:12 +0900)
committerEryu Guan <guaneryu@gmail.com>
Sun, 15 Aug 2021 15:25:17 +0000 (23:25 +0800)
commit40360a4264d40ccf7dd094e446307567839547e6
tree7cd43fc3ee43b18a1d03db4c326ca9e52a25e848
parent72699dc08b1d5009b19b337d2d4efa57ad92912b
common/rc: fix blocksize detection for btrfs

Mkfs.btrfs's "-b" does not specify the block size but the file system size.
Use "-s" to detect it instead.

Signed-off-by: Naohiro Aota <naohiro.aota@wdc.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
common/rc