mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
generic/018: to work with 64k block size
This commit replaces the hard coded bsize variable with the block size obtained from the underlying filesystem. Signed-off-by: Chandan Rajendra <chandan@linux.vnet.ibm.com> Tested-by: Zorro Lang <zlang@redhat.com> Signed-off-by: Eryu Guan <guaneryu@gmail.com>
This commit is contained in:
committed by
Eryu Guan
parent
d3a02a6e8a
commit
743bd85bfe
+1
-1
@@ -42,7 +42,7 @@ fragfile=$SCRATCH_MNT/fragfile.$$
|
||||
rm -f $fragfile
|
||||
|
||||
# Craft some fragmented files, defrag them, check the result.
|
||||
bsize=4096
|
||||
bsize=$(_get_file_block_size $SCRATCH_MNT)
|
||||
|
||||
echo "zero-length file:" | tee -a $seqres.full
|
||||
touch $fragfile
|
||||
|
||||
Reference in New Issue
Block a user