[PATCH] Do an lvm.clampLVSizeRequest to the new size. (#480793)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 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

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list

[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux