[gparted] Remove outdated comment about ped_partition_is_busy() for DMRaid devices



commit 438685577b3924cab19ded6bcee4e1dbcdfa9af8
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Feb 22 14:57:31 2014 +0000

    Remove outdated comment about ped_partition_is_busy() for DMRaid devices
    
    Comment is outdated after GParted stopped using ped_partition_is_busy()
    for busy partition detection of normal and logical partitions since
    commit:
    
        420299206323fb49da5ba099b9f51cba95e58603
        Fix false busy detection of unusual case with Linux Software RAID (#712533)

 src/GParted_Core.cc |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index 57cee05..7a1ba5c 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -1036,7 +1036,6 @@ void GParted_Core::set_device_partitions( Device & device, PedDevice* lp_device,
 #ifndef USE_LIBPARTED_DMRAID
                                //Handle dmraid devices differently because the minor number might not
                                //  match the last number of the partition filename as shown by "ls -l 
/dev/mapper"
-                               //  This mismatch causes incorrect identification of busy partitions in 
ped_partition_is_busy(). 
                                if ( dmraid .is_dmraid_device( device .get_path() ) )
                                {
                                        //Try device_name + partition_number


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