mirror of
https://github.com/linux-apfs/apfstests.git
synced 2026-05-01 15:01:44 -07:00
common: add leading underscore to get_block_size
Add a leading underscore to the get_block_size helper since it's a common function. Signed-off-by: Darrick J. Wong <darrick.wong@oracle.com> Reviewed-by: Eryu Guan <eguan@redhat.com> Signed-off-by: Eryu Guan <eguan@redhat.com>
This commit is contained in:
committed by
Eryu Guan
parent
daedb4dc13
commit
0bfb84110b
+2
-2
@@ -265,7 +265,7 @@ _filter_xfs_io_units_modified()
|
||||
|
||||
_filter_xfs_io_blocks_modified()
|
||||
{
|
||||
BLOCK_SIZE=$(get_block_size $SCRATCH_MNT)
|
||||
BLOCK_SIZE=$(_get_block_size $SCRATCH_MNT)
|
||||
|
||||
_filter_xfs_io_units_modified "Block" $BLOCK_SIZE
|
||||
}
|
||||
@@ -383,7 +383,7 @@ _filter_ro_mount() {
|
||||
|
||||
_filter_od()
|
||||
{
|
||||
BLOCK_SIZE=$(get_block_size $SCRATCH_MNT)
|
||||
BLOCK_SIZE=$(_get_block_size $SCRATCH_MNT)
|
||||
$AWK_PROG -v block_size=$BLOCK_SIZE '
|
||||
/^[0-9]+/ {
|
||||
offset = strtonum("0"$1);
|
||||
|
||||
Reference in New Issue
Block a user