diff --git a/ChangeLog b/ChangeLog index 6967722c..ba8e4d8f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2009-03-23 Curtis Gedak + + * src/DMRaid.cc: Fixed error when resizing an extended partition. + 2009-03-16 Curtis Gedak * include/DMRaid.h: Enhanced dmraid partition deletion. diff --git a/src/DMRaid.cc b/src/DMRaid.cc index 1f7fed4c..42a05fd5 100644 --- a/src/DMRaid.cc +++ b/src/DMRaid.cc @@ -359,6 +359,10 @@ bool DMRaid::update_dev_map_entry( const Partition & partition, OperationDetail { //Update dmraid entry by first deleting the entry then recreating the entry + //Skip if extended partition because the only change is to the partition table. + if ( partition .type == GParted::TYPE_EXTENDED ) + return true ; + bool exit_status = true ; //assume successful /*TO TRANSLATORS: looks like update /dev/mapper entry */