Remove invalid assertion that all managed mounts are in /media
authorDavid Zeuthen <davidz@redhat.com>
Tue, 17 Jan 2012 21:59:58 +0000 (16:59 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 17 Jan 2012 21:59:58 +0000 (16:59 -0500)
This is not true as we support mounting items referenced in /etc/fstab.

Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskscleanup.c

index 5aa7a85..15b628a 100644 (file)
@@ -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)",