gparted r1104 - in trunk: . src
- From: gedakc svn gnome org
- To: svn-commits-list gnome org
- Subject: gparted r1104 - in trunk: . src
- Date: Mon, 23 Mar 2009 18:51:33 +0000 (UTC)
Author: gedakc
Date: Mon Mar 23 18:51:33 2009
New Revision: 1104
URL: http://svn.gnome.org/viewvc/gparted?rev=1104&view=rev
Log:
Fixed error when resizing an extended partition
Modified:
trunk/ChangeLog
trunk/src/DMRaid.cc
Modified: trunk/src/DMRaid.cc
==============================================================================
--- trunk/src/DMRaid.cc (original)
+++ trunk/src/DMRaid.cc Mon Mar 23 18:51:33 2009
@@ -359,6 +359,10 @@
{
//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 */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]