[gparted] Remove LUKS unsupported warning (#760080)



commit 974668104df0d7a9d3d4b794bec8e0080022dd57
Author: Mike Fleetwood <mike fleetwood googlemail com>
Date:   Sat Jan 2 14:16:12 2016 +0000

    Remove LUKS unsupported warning (#760080)
    
    Bug 760080 - Implement read-only LUKS support

 src/GParted_Core.cc |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/GParted_Core.cc b/src/GParted_Core.cc
index df04621..2e30387 100644
--- a/src/GParted_Core.cc
+++ b/src/GParted_Core.cc
@@ -1598,7 +1598,6 @@ FILESYSTEM GParted_Core::detect_filesystem( PedDevice * lp_device, PedPartition
        FS_Info fs_info ;
        Glib::ustring fsname = "";
        Glib::ustring path;
-       static Glib::ustring luks_unsupported = _("Linux Unified Key Setup encryption is not yet supported.");
 
        if ( lp_partition )
                // Will query partition using methods: (Q1) SWRaid, (Q2) blkid,
@@ -1648,10 +1647,7 @@ FILESYSTEM GParted_Core::detect_filesystem( PedDevice * lp_device, PedPartition
                          fsname == "swap"               )
                        return GParted::FS_LINUX_SWAP ;
                else if ( fsname == "crypto_LUKS" )
-               {
-                       messages.push_back( luks_unsupported );
                        return FS_LUKS;
-               }
                else if ( fsname == "LVM2_member" )
                        return GParted::FS_LVM2_PV ;
                else if ( fsname == "f2fs" )
@@ -1691,8 +1687,6 @@ FILESYSTEM GParted_Core::detect_filesystem( PedDevice * lp_device, PedPartition
 
        // (Q4) Fallback to GParted simple internal file system detection
        FILESYSTEM fstype = detect_filesystem_internal( lp_device, lp_partition );
-       if ( fstype == FS_LUKS )
-               messages.push_back( luks_unsupported );
        if ( fstype != FS_UNKNOWN )
                return fstype;
 


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