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

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



This one is no good. checkout the next one.
----- "Joel Granados Moreno" <jgranado redhat com> wrote:

> ---
>  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 redhat com
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list

-- 
Joel Andres Granados
Red Hat / Brno Czech Republic


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