summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-10-21 11:01:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-10-21 11:01:49 +0000
commit731ab2813501632fa60c608661445b83f8d4c2ec (patch)
tree1f39885bba9954b0cdf41dd99be2d5c514a3d70b /xfce-base/exo/files
parentInitial commit wrt #289866, thanks to Jeremy Olexa for reporting. (diff)
downloadgentoo-2-731ab2813501632fa60c608661445b83f8d4c2ec.tar.gz
gentoo-2-731ab2813501632fa60c608661445b83f8d4c2ec.tar.bz2
gentoo-2-731ab2813501632fa60c608661445b83f8d4c2ec.zip
Revision bump for upstream patch: Avoid sync mount option with USB storage wrt #289972.
(Portage version: 2.2_rc46/cvs/Linux x86_64, RepoMan options: --force)
Diffstat (limited to 'xfce-base/exo/files')
-rw-r--r--xfce-base/exo/files/exo-0.3.105-sync.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/xfce-base/exo/files/exo-0.3.105-sync.patch b/xfce-base/exo/files/exo-0.3.105-sync.patch
new file mode 100644
index 000000000000..e961c711d162
--- /dev/null
+++ b/xfce-base/exo/files/exo-0.3.105-sync.patch
@@ -0,0 +1,25 @@
+From 7aad4f152380e1d2edffdc9a2eb15554f042fbad Mon Sep 17 00:00:00 2001
+From: Nick Schermer <nick@xfce.org>
+Date: Sun, 18 Oct 2009 22:47:32 +0000
+Subject: Only sync devices with no volume.
+
+If the devices is pollable and we set the sync option, this
+will slowdown the transfer. I missed that when changing the
+code.
+---
+diff --git a/exo-mount/exo-mount-hal.c b/exo-mount/exo-mount-hal.c
+index bbf9ca3..d09d0db 100644
+--- a/exo-mount/exo-mount-hal.c
++++ b/exo-mount/exo-mount-hal.c
+@@ -741,7 +741,8 @@ exo_mount_hal_device_mount (ExoMountHalDevice *device,
+ {
+ option = NULL;
+
+- if (strcmp (device->fsoptions[m], "sync") == 0)
++ if (strcmp (device->fsoptions[m], "sync") == 0
++ && device->volume == NULL)
+ {
+ /* non-pollable drive... */
+ option = g_strdup ("sync");
+--
+cgit v0.8.2.1