ensure that properties are updated before FilesystemMount returns
authorDavid Zeuthen <davidz@redhat.com>
Fri, 27 Feb 2009 21:22:23 +0000 (16:22 -0500)
committerDavid Zeuthen <davidz@redhat.com>
Fri, 27 Feb 2009 21:22:23 +0000 (16:22 -0500)
src/devkit-disks-device.c

index 609b887..54eff68 100644 (file)
@@ -4020,6 +4020,9 @@ filesystem_mount_completed_cb (DBusGMethodInvocation *context,
                 if (!data->is_remount) {
                         mounts_file_add (device, uid, data->remove_dir_on_unmount);
                 }
+
+                drain_pending_changes (device, FALSE);
+
                 dbus_g_method_return (context, data->mount_point);
         } else {
                 if (!data->is_remount) {