Commit be0c4645 authored by Ondrej Holy's avatar Ondrej Holy
Browse files

udisks2: Fix handling of volumes with multiple mountpoints

Volume is not included currently if it has multiple mount points
and one of them is not considered as user interesting. Change this
logic and include all volumes with at least one user interesting
mount point.

https://bugzilla.gnome.org/show_bug.cgi?id=772306
parent 88f91664
......@@ -752,12 +752,14 @@ should_include_volume_check_mount_points (GVfsUDisks2VolumeMonitor *monitor,
mount_entry = g_unix_mount_at (mount_point, NULL);
if (mount_entry != NULL)
{
if (!should_include_mount (monitor, mount_entry))
if (should_include_mount (monitor, mount_entry))
{
g_unix_mount_free (mount_entry);
ret = FALSE;
ret = TRUE;
goto out;
}
ret = FALSE;
g_unix_mount_free (mount_entry);
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment