[gparted] Remove outdated FIXME comment from active_partitions_on_device_count()



commit 85e9ce342881af35af459689dd72f62fdae273ff
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Jul 7 11:38:26 2012 +0100

    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 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/Win_GParted.cc b/src/Win_GParted.cc
index 61545b5..4ada754 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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]