Re: [PATCH] Only check that extended's start sector is within the chunk. (#565692)

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

 



Ack.

On 02/16/2010 06:19 PM, David Lehman wrote:
---
  storage/partitioning.py |    4 +++-
  1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/storage/partitioning.py b/storage/partitioning.py
index 87154ee..f00b645 100644
--- a/storage/partitioning.py
+++ b/storage/partitioning.py
@@ -1439,8 +1439,10 @@ def growPartitions(disks, partitions, free):
              # adjust the extended partition as needed
              # we will ony resize an extended partition that we created
              log.debug("extended: %s" % extended_geometry)
+            # only check the start sector of the extended because its end
+            # sector is not aligned
              if extended_geometry and \
-               chunk.geometry.contains(extended_geometry):
+               chunk.geometry.containsSector(extended_geometry.start):
                  log.debug("setting up new geometry for extended on %s" % disk.name)
                  ext_start = 0
                  ext_end = 0

_______________________________________________
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