FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 02-16-2010, 04:19 PM
David Lehman
 
Default Only check that extended's start sector is within the chunk. (#565692)

---
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.st art):
log.debug("setting up new geometry for extended on %s" % disk.name)
ext_start = 0
ext_end = 0
--
1.6.6

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

Thread Tools




All times are GMT. The time now is 01:11 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org