Fix ignore check for loop devices
authorDavid Zeuthen <davidz@redhat.com>
Tue, 26 Jul 2011 20:41:01 +0000 (16:41 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Tue, 26 Jul 2011 20:41:01 +0000 (16:41 -0400)
Signed-off-by: David Zeuthen <davidz@redhat.com>
src/udiskscleanup.c

index 204baa1..6747f08 100644 (file)
@@ -1806,7 +1806,7 @@ udisks_cleanup_check_loop_entry (UDisksCleanup  *cleanup,
                  &details);
 
   /* Don't consider entries being ignored (e.g. in the process of being locked) */
-  if (g_hash_table_lookup (cleanup->currently_deleting, &loop_device) != NULL)
+  if (g_hash_table_lookup (cleanup->currently_deleting, loop_device) != NULL)
     {
       keep = TRUE;
       goto out;