resize: Refactor the code for creating target partitions.
authorRichard W.M. Jones <rjones@redhat.com>
Thu, 20 Oct 2011 13:46:11 +0000 (14:46 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Thu, 20 Oct 2011 15:48:30 +0000 (16:48 +0100)
commit5d8e4102b46158f323fb1f6d76a342edcb997b73
tree0af683c1054d5a0d068e75b81ce7a32f4172c52b
parent9f198956047583e506713a4472117922f8b27b2e
resize: Refactor the code for creating target partitions.

The old code mixed the business of planning the layout of the target
partitions with the creation of the target partitions.  The
replacement code separates these into two tasks: firstly we create a
new 'partitions' list with the target layout, secondly this directly
drives the creation of the partitions.

As part of this change I have *removed* the old code that was supposed
to handle extended/logical MBR partitions.  It simply didn't work, and
didn't have any hope of working, and there is a separate bug open to
fix it.
resize/resize.ml