[gvfs/gnome-3-22] Revert "udisks2: Use device path to match mount points also"



commit f39cc2bad2d5c329dc7f26a49dcc530ac5ed5004
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Oct 17 08:05:51 2016 +0200

    Revert "udisks2: Use device path to match mount points also"
    
    This reverts commit 4d2562b33c07de1b817da8ba44afe07cac5e66c8.

 monitor/udisks2/gvfsudisks2volumemonitor.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index 708685b..09c35b8 100644
--- a/monitor/udisks2/gvfsudisks2volumemonitor.c
+++ b/monitor/udisks2/gvfsudisks2volumemonitor.c
@@ -583,9 +583,7 @@ get_mount_point_for_mount (GUnixMountEntry *mount_entry)
     {
       GUnixMountPoint *mount_point = l->data;
       if (g_strcmp0 (g_unix_mount_get_mount_path (mount_entry),
-                     g_unix_mount_point_get_mount_path (mount_point)) == 0 &&
-          g_strcmp0 (g_unix_mount_get_device_path (mount_entry),
-                     g_unix_mount_point_get_device_path (mount_point)) == 0)
+                     g_unix_mount_point_get_mount_path (mount_point)) == 0)
         {
           ret = mount_point;
           goto out;


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