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.
This commit is contained in:
Mike Fleetwood 2012-07-07 11:38:26 +01:00 committed by Curtis Gedak
parent 5cb6c687ba
commit 85e9ce3428
1 changed files with 0 additions and 2 deletions

View File

@ -2599,8 +2599,6 @@ int Win_GParted::active_partitions_on_device_count( const Device & device )
//Count the active partitions on the device //Count the active partitions on the device
for ( unsigned int k=0; k < device .partitions .size(); k++ ) 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 //Count the active primary partitions
if ( device .partitions[ k ] .busy if ( device .partitions[ k ] .busy
&& device .partitions[ k ] .type != TYPE_EXTENDED && device .partitions[ k ] .type != TYPE_EXTENDED