Looks good, Regards, Hans On 03/27/2009 02:00 PM, Radek Vykydal wrote:
--- storage/devices.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/storage/devices.py b/storage/devices.py index 2f1319e..ccf4f87 100644 --- a/storage/devices.py +++ b/storage/devices.py @@ -1749,7 +1749,7 @@ class LVMVolumeGroupDevice(DMDevice): # sum up the sizes of the PVs and align to pesize size = 0 for pv in self.pvs: - size += self.align(pv.size - pv.format.peStart) + size += max(0, self.align(pv.size - pv.format.peStart)) return size
_______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list