[PATCH 3/3] Make sure lower bound for resize is applied. (#986575)
Vratislav Podzimek
vpodzime at redhat.com
Wed Oct 30 13:12:35 UTC 2013
On Wed, 2013-10-23 at 13:57 -0500, David Lehman wrote:
> ---
> pyanaconda/ui/gui/spokes/custom.py | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/pyanaconda/ui/gui/spokes/custom.py b/pyanaconda/ui/gui/spokes/custom.py
> index 3cefaf6..9015e80 100644
> --- a/pyanaconda/ui/gui/spokes/custom.py
> +++ b/pyanaconda/ui/gui/spokes/custom.py
> @@ -1442,6 +1442,8 @@ class CustomPartitioningSpoke(NormalSpoke, StorageChecker):
> # a value.
> if not size:
> size = device.maxSize
> + elif size < device.minSize:
> + size = device.minSize
>
> # And then we need to re-check that the max size is actually
> # different from the current size.
This also fixes rhbz#1008633.
--
Vratislav Podzimek
Anaconda Rider | Red Hat, Inc. | Brno - Czech Republic
More information about the anaconda-patches
mailing list