summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2011-07-26 16:41:01 -0400
committerDavid Zeuthen <davidz@redhat.com>2011-07-26 16:41:01 -0400
commitf7c4029ab1fc4a46e6bdfcd17e42166daeb84087 (patch)
tree2c9f9e83ec5faf66979a1f63ebea2e0e1f3fc8d0
parente9ef32bce1ff3a09cd1a27aadfe761aef98c21bc (diff)
Fix ignore check for loop devices
Signed-off-by: David Zeuthen <davidz@redhat.com>
-rw-r--r--src/udiskscleanup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/udiskscleanup.c b/src/udiskscleanup.c
index 204baa1..6747f08 100644
--- a/src/udiskscleanup.c
+++ b/src/udiskscleanup.c
@@ -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;