misc: fix _get_file_block_size usage
authorDarrick J. Wong <darrick.wong@oracle.com>
Wed, 11 Nov 2020 00:43:39 +0000 (16:43 -0800)
committerEryu Guan <guaneryu@gmail.com>
Sun, 22 Nov 2020 14:17:50 +0000 (22:17 +0800)
commit0d444a9a29e385ead98f8aaf82701bc3d94b2759
tree3c394915bc9ce8b5b3a381505c6161ad7e41ac35
parentf220ab921e1dba4243c2e55c1151f6319724ec90
misc: fix _get_file_block_size usage

Fix these tests that rely on the allocation unit size of a file, which
might not necessarily be the fs block size.

Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com>
Reviewed-by: Eryu Guan <guaneryu@gmail.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/157
tests/generic/175
tests/xfs/129
tests/xfs/169
tests/xfs/208
tests/xfs/336
tests/xfs/344
tests/xfs/345