diff options
author | Radek Vykydal <rvykydal@redhat.com> | 2008-09-09 18:25:56 +0200 |
---|---|---|
committer | Radek Vykydal <rvykydal@redhat.com> | 2008-09-09 18:25:56 +0200 |
commit | 1f489c95975737536ed5703c4b7afe7bcfb18d8e (patch) | |
tree | 005ecc4540210e66feda71922945fc94af6e395b /autopart.py | |
parent | c561708ccbb74b96885ef6c3bf40359fe55b3ac8 (diff) | |
download | anaconda-1f489c95975737536ed5703c4b7afe7bcfb18d8e.tar.gz anaconda-1f489c95975737536ed5703c4b7afe7bcfb18d8e.tar.xz anaconda-1f489c95975737536ed5703c4b7afe7bcfb18d8e.zip |
Fix partitions growing (backport of rhbz #442628)
Diffstat (limited to 'autopart.py')
-rw-r--r-- | autopart.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autopart.py b/autopart.py index f4870b0a2..52ad89388 100644 --- a/autopart.py +++ b/autopart.py @@ -791,7 +791,7 @@ def growParts(diskset, requests, newParts): imposedMax = 1 maxfree = largestFree[drive] - if maxsect > largestFree[drive]: + if maxsect > maxfree + startSize: maxsect = long(maxfree) + startSize imposedMax = 1 |