[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[PATCH] Do an lvm.clampLVSizeRequest to the new size. (#480793)
- From: Joel Granados Moreno <jgranado redhat com>
- To: anaconda-devel-list redhat com
- Subject: [PATCH] Do an lvm.clampLVSizeRequest to the new size. (#480793)
- Date: Mon, 26 Jan 2009 15:39:20 +0100
---
autopart.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/autopart.py b/autopart.py
index 7f47e3d..372c112 100644
--- a/autopart.py
+++ b/autopart.py
@@ -579,7 +579,7 @@ def growLogicalVolumes(diskset, requests):
if req.maxSizeMB:
newsize = min(newsize, req.maxSizeMB)
- req.size = newsize
+ req.size = lvm.clampLVSizeRequest(newsize, vgreq.pesize)
if req.size != cursize[req.logicalVolumeName]:
nochange = 0
--
1.6.0.6
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]