summaryrefslogtreecommitdiff
path: root/monitor
diff options
context:
space:
mode:
authorDavid Zeuthen <davidz@redhat.com>2012-05-14 17:42:34 -0400
committerDavid Zeuthen <davidz@redhat.com>2012-05-14 17:42:34 -0400
commit817d82da698910b45f2809175653d671190b939f (patch)
tree2a795a70a306c6f84125235100b7e87b01b22b2f /monitor
parent4f89d930d3eb8414dc301262d7db448d257843bc (diff)
downloadgvfs-817d82da698910b45f2809175653d671190b939f.tar.gz
udisks2: set timeout to INTMAX when unmounting a filesystem
It may indeed take more than 25 seconds if there's a lot of data to write. Related to https://bugzilla.redhat.com/show_bug.cgi?id=819492 Signed-off-by: David Zeuthen <davidz@redhat.com>
Diffstat (limited to 'monitor')
-rw-r--r--monitor/udisks2/gvfsudisks2mount.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c
index 6decc192..e882ba82 100644
--- a/monitor/udisks2/gvfsudisks2mount.c
+++ b/monitor/udisks2/gvfsudisks2mount.c
@@ -900,6 +900,7 @@ unmount_do (UnmountData *data,
"{sv}",
"force", g_variant_new_boolean (TRUE));
}
+ g_dbus_proxy_set_default_timeout (G_DBUS_PROXY (data->filesystem), G_MAXINT);
udisks_filesystem_call_unmount (data->filesystem,
g_variant_builder_end (&builder),
data->cancellable,