fix deleting extended partitions
authorDavid Zeuthen <davidz@redhat.com>
Sat, 22 Mar 2008 03:03:32 +0000 (23:03 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Sat, 22 Mar 2008 03:03:32 +0000 (23:03 -0400)
commitbcfaecb5c03b7ab807c200e85b6f6bc0ce92ca51
treeedda3ea0070b0cd50e122289cdc49f2af1ffec2b
parent4e43369aa186696b13e40fa9cae0d6a6e4fd971c
fix deleting extended partitions

We need to zero the contents of the partition _after_ it has been
removed from the partitioning table. If we do it before, we overwrite
important metadata in extended partitions.
src/devkit-disks-device.c
src/job-create-partition-table.c
src/job-delete-partition.c
src/job-erase.c
src/job-mkfs.c
src/job-shared.h