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:
Darrick J. Wong
2017-01-04 17:04:48 -08:00
committed by Eryu Guan
parent daedb4dc13
commit 0bfb84110b
104 changed files with 108 additions and 108 deletions
+2 -2
View File
@@ -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`