[PATCH 10/13] Do not honor partitions' disk attr when reallocating them.
David Lehman
dlehman at redhat.com
Wed Aug 29 00:00:49 UTC 2012
I don't think this was ever used.
---
pyanaconda/storage/partitioning.py | 5 +----
1 files changed, 1 insertions(+), 4 deletions(-)
diff --git a/pyanaconda/storage/partitioning.py b/pyanaconda/storage/partitioning.py
index f057bf7..552bb10 100644
--- a/pyanaconda/storage/partitioning.py
+++ b/pyanaconda/storage/partitioning.py
@@ -827,10 +827,7 @@ def allocatePartitions(storage, disks, partitions, freespace):
# obtain the set of candidate disks
req_disks = []
- if _part.disk:
- # we have a already selected a disk for this request
- req_disks = [_part.disk]
- elif _part.req_disks:
+ if _part.req_disks:
# use the requested disk set
req_disks = _part.req_disks
else:
--
1.7.7.6
More information about the anaconda-patches
mailing list