Commit 0a47bf09 authored by David Zeuthen's avatar David Zeuthen
Browse files

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: default avatarDavid Zeuthen <davidz@redhat.com>
parent 052010c7
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment