diff options
author | Ondrej Holy <oholy@redhat.com> | 2016-10-17 08:05:51 +0200 |
---|---|---|
committer | Ondrej Holy <oholy@redhat.com> | 2016-10-17 08:05:51 +0200 |
commit | f39cc2bad2d5c329dc7f26a49dcc530ac5ed5004 (patch) | |
tree | 0a263202f5d570d0249ad7da974cf666dd23941f | |
parent | 07b80389f4492fa88f96c449851efc8a99063dd4 (diff) | |
download | gvfs-f39cc2bad2d5c329dc7f26a49dcc530ac5ed5004.tar.gz |
Revert "udisks2: Use device path to match mount points also"
This reverts commit 4d2562b33c07de1b817da8ba44afe07cac5e66c8.
-rw-r--r-- | 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 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; |