[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Present the correct max lv size in the dialog.
- From: David Lehman <dlehman redhat com>
- To: anaconda-devel-list redhat com
- Cc:
- Subject: [PATCH] Present the correct max lv size in the dialog.
- Date: Thu, 2 Apr 2009 21:44:11 -0500
---
iw/lvm_dialog_gui.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/iw/lvm_dialog_gui.py b/iw/lvm_dialog_gui.py
index 2cee546..9a9566a 100644
--- a/iw/lvm_dialog_gui.py
+++ b/iw/lvm_dialog_gui.py
@@ -470,7 +470,7 @@ class VolumeGroupEditor:
row += 1
if not lv['exists']:
- maxlv = min(lvm.getMaxLVSize(), lv['size'])
+ maxlv = min(lvm.getMaxLVSize(), lv['size'] + tempvg.freeSpace)
maxlabel = createAlignedLabel(_("(Max size is %s MB)") % (maxlv,))
maintable.attach(maxlabel, 1, 2, row, row + 1)
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]