diff options
author | Mike Fulbright <msf@redhat.com> | 2002-08-14 04:42:23 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2002-08-14 04:42:23 +0000 |
commit | e4bf92aa78fb29f708abdfc05c1c927e646921b8 (patch) | |
tree | 9fdf58ce112f71d7b44130a1fcb0cc274e7665b7 /lvm.py | |
parent | 432a4b0deb503183a9de446e261d8769593a20e3 (diff) | |
download | anaconda-e4bf92aa78fb29f708abdfc05c1c927e646921b8.tar.gz anaconda-e4bf92aa78fb29f708abdfc05c1c927e646921b8.tar.xz anaconda-e4bf92aa78fb29f708abdfc05c1c927e646921b8.zip |
round down or else we will use too much space in ks --percent mode rounding up
Diffstat (limited to 'lvm.py')
-rw-r--r-- | lvm.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -142,7 +142,7 @@ def clampLVSizeRequest(size, pe): if ((size*1024L) % pe) == 0: return size else: - return ((long((size*1024L)/pe)+1L)*pe)/1024 + return ((long((size*1024L)/pe))*pe)/1024 def clampPVSize(pvsize, pesize): """Given a PV size and a PE, returns the usable space of the PV. |