diff options
author | David Zeuthen <davidz@redhat.com> | 2012-05-14 17:42:34 -0400 |
---|---|---|
committer | David Zeuthen <davidz@redhat.com> | 2012-05-14 17:49:47 -0400 |
commit | 0a47bf098e4d33c6284b9f2ef47c175c6503b932 (patch) | |
tree | af3cec9dcb10d2bf3922fd7b0222a26aae8f52f0 | |
parent | 052010c7ca25217fd9f3a4a9d479d98ef5f57ae5 (diff) | |
download | gvfs-0a47bf098e4d33c6284b9f2ef47c175c6503b932.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>
-rw-r--r-- | monitor/udisks2/gvfsudisks2mount.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/monitor/udisks2/gvfsudisks2mount.c b/monitor/udisks2/gvfsudisks2mount.c index ec1c0b6c..504e0ec2 100644 --- a/monitor/udisks2/gvfsudisks2mount.c +++ b/monitor/udisks2/gvfsudisks2mount.c @@ -901,6 +901,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, |