[gvfs] Revert "udisks2: Use device path to match mount points also"



commit 077f309e6c39bf5e0ab5d9e61fe741acad413cb6
Author: Ondrej Holy <oholy redhat com>
Date:   Mon Oct 17 08:08:14 2016 +0200

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

 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]