uvol: fix autopart handling double/float number
authorDaniel Golle <daniel@makrotopia.org>
Sun, 14 Aug 2022 18:51:37 +0000 (20:51 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 31 Aug 2022 01:11:07 +0000 (02:11 +0100)
commit426ccd2e0cf56394017d32b864cd66a570852706
tree733cf80ba39d957a81981e9dd0401ff8d72a78f1
parent32e4d8fa5ab64d8dd45841241ec528058a82f5db
uvol: fix autopart handling double/float number

Consider only integer part of free space in megabytes when
deciding the boundaries of the to be created partition.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
(cherry picked from commit f50a289e515fcdc49da5c19d58ed3af54c640cd4)
utils/uvol/files/autopart.defaults