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
@@ -3125,10 +3125,10 @@ _sysfs_dev()
|
||||
echo /sys/dev/block/$_maj:$_min
|
||||
}
|
||||
|
||||
get_block_size()
|
||||
_get_block_size()
|
||||
{
|
||||
if [ -z $1 ] || [ ! -d $1 ]; then
|
||||
echo "Missing mount point argument for get_block_size"
|
||||
echo "Missing mount point argument for _get_block_size"
|
||||
exit 1
|
||||
fi
|
||||
echo `stat -f -c %S $1`
|
||||
|
||||
Reference in New Issue
Block a user