From 85e9ce342881af35af459689dd72f62fdae273ff Mon Sep 17 00:00:00 2001 From: Mike Fleetwood Date: Sat, 7 Jul 2012 11:38:26 +0100 Subject: [PATCH] Remove outdated FIXME comment from active_partitions_on_device_count() Active LVM2 PVs have the partition class busy member set in GParted_Core::set_device_partitions() just as mounted file systems do. This is a basic requirement for GParted so that it only manipulates partitions and contained file systems when they are not in use. --- src/Win_GParted.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc index 61545b56..4ada7543 100644 --- a/src/Win_GParted.cc +++ b/src/Win_GParted.cc @@ -2599,8 +2599,6 @@ int Win_GParted::active_partitions_on_device_count( const Device & device ) //Count the active partitions on the device for ( unsigned int k=0; k < device .partitions .size(); k++ ) { - //FIXME: Should also count other types of active partitions, such as LVM2 when we know how. - //Count the active primary partitions if ( device .partitions[ k ] .busy && device .partitions[ k ] .type != TYPE_EXTENDED