summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorOndrej Holy <oholy@redhat.com>2016-10-17 08:08:14 +0200
committerOndrej Holy <oholy@redhat.com>2016-10-17 08:08:14 +0200
commit077f309e6c39bf5e0ab5d9e61fe741acad413cb6 (patch)
treed5d79d8568c54b8eda903de74ad864f638a021c0 /monitor
parent8681870540ba39a3e1b5a8e56de1c0e81aa4cef3 (diff)
downloadgvfs-077f309e6c39bf5e0ab5d9e61fe741acad413cb6.tar.gz
Revert "udisks2: Use device path to match mount points also"
This reverts commit b77369832fd6fb97e1f036998663f2488ff15022.
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2volumemonitor.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/monitor/udisks2/gvfsudisks2volumemonitor.c b/monitor/udisks2/gvfsudisks2volumemonitor.c
index 708685b2..09c35b88 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;