[gvfs/wip/udisks2] udisks2: fix check for whether the umount(8) command should be used



commit ce2415fef8ed031317b23044894a940e01f39d3b
Author: David Zeuthen <davidz redhat com>
Date:   Sat Oct 22 12:17:38 2011 -0400

    udisks2: fix check for whether the umount(8) command should be used
    
    Signed-off-by: David Zeuthen <davidz redhat com>

 monitor/udisks2/gvfsudisks2mount.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index 54a87d5..a38220d 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -873,7 +873,7 @@ unmount_do (UnmountData *data,
 {
   GVariantBuilder builder;
 
-  if (data->mount->volume == NULL)
+  if (data->filesystem == NULL)
     {
       unmount_do_command (data, force);
       goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]