From: David Zeuthen Date: Tue, 17 Jan 2012 21:59:58 +0000 (-0500) Subject: Remove invalid assertion that all managed mounts are in /media X-Git-Tag: upstream/2.1.2~365 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=502be46973de04a879b01ea7db27dd52f042f403;p=platform%2Fupstream%2Fudisks2.git Remove invalid assertion that all managed mounts are in /media This is not true as we support mounting items referenced in /etc/fstab. Signed-off-by: David Zeuthen --- diff --git a/src/udiskscleanup.c b/src/udiskscleanup.c index 5aa7a85..15b628a 100644 --- a/src/udiskscleanup.c +++ b/src/udiskscleanup.c @@ -650,8 +650,6 @@ udisks_cleanup_check_mounted_fs_entry (UDisksCleanup *cleanup, if (!keep && !attempt_no_cleanup) { - g_assert (g_str_has_prefix (mount_point, "/media")); - if (!device_exists) { udisks_notice ("Cleaning up mount point %s (device %d:%d no longer exist)",