diff --git a/ChangeLog b/ChangeLog index 75bffddd..eeb6573b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-08-20 Bart Hakvoort + + * src/Dialog_Partition_Resize_Move.cc: due to some restrictions it as + no longer possible to shrink swap filesystems. fixed. + 2006-08-20 Bart Hakvoort * src/linux_swap.cc: small fix with moving of linux-swap (which seems diff --git a/src/Dialog_Partition_Resize_Move.cc b/src/Dialog_Partition_Resize_Move.cc index 7e46e4c1..efebbe02 100644 --- a/src/Dialog_Partition_Resize_Move.cc +++ b/src/Dialog_Partition_Resize_Move.cc @@ -62,7 +62,9 @@ void Dialog_Partition_Resize_Move::Set_Data( const Partition & selected_partitio void Dialog_Partition_Resize_Move::Resize_Move_Normal( const std::vector & partitions ) { //little bit of paranoia ;) - if ( selected_partition .sectors_used == -1 && selected_partition .status != STAT_NEW ) + if ( selected_partition .sectors_used == -1 && + selected_partition .status != STAT_NEW && + selected_partition .filesystem != FS_LINUX_SWAP ) fs .shrink = GParted::FS::NONE ; //see if we need a fixed_start