aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2017-06-06 16:41:13 -0400
committerNikolaus Rath <Nikolaus@rath.org>2017-06-06 16:45:15 -0400
commit8999210c9327d91ee44a1a44e78a9b70c78a5239 (patch)
treee7053d2b60dae2c468357dade1749c956fa70e8a
parent5ed2cf8a8bb2a19f2429adaa009c5dbfcc419475 (diff)
downloadsshfs-8999210c9327d91ee44a1a44e78a9b70c78a5239.tar
sshfs-8999210c9327d91ee44a1a44e78a9b70c78a5239.tar.gz
sshfs-8999210c9327d91ee44a1a44e78a9b70c78a5239.tar.bz2
sshfs-8999210c9327d91ee44a1a44e78a9b70c78a5239.zip
Remove support for "all" workarounds
This should never be used. We may add new workarounds in the future, and they should only be enabled explicitly when needed.
-rw-r--r--ChangeLog5
-rw-r--r--sshfs.c5
2 files changed, 4 insertions, 6 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d7381d..a1c11d6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,7 +8,10 @@ Unreleased Changes
* Dropped support for the *nodelaysrv* workaround. The same effect
(enabling NODELAY on the server side *and* enabling X11 forwarding)
can be achieved by explicitly passing `-o ForwardX11`
-
+* Removed support for `-o workaround=all`. Workarounds should always
+ enabled explicitly and only when needed. There is no point in always
+ enabling a potentially changing set of workarounds.
+
Release 2.9 (2017-04-17)
------------------------
diff --git a/sshfs.c b/sshfs.c
index a2f23b5..b926f6a 100644
--- a/sshfs.c
+++ b/sshfs.c
@@ -422,10 +422,6 @@ static struct fuse_opt workaround_opts[] = {
SSHFS_OPT("none", truncate_workaround, 0),
SSHFS_OPT("none", buflimit_workaround, 0),
SSHFS_OPT("none", fstat_workaround, 0),
- SSHFS_OPT("all", rename_workaround, 1),
- SSHFS_OPT("all", truncate_workaround, 1),
- SSHFS_OPT("all", buflimit_workaround, 1),
- SSHFS_OPT("all", fstat_workaround, 1),
SSHFS_OPT("rename", rename_workaround, 1),
SSHFS_OPT("norename", rename_workaround, 0),
SSHFS_OPT("truncate", truncate_workaround, 1),
@@ -3318,7 +3314,6 @@ static void usage(const char *progname)
" cache if full (default: 5)\n"
" -o workaround=LIST colon separated list of workarounds\n"
" none no workarounds enabled\n"
-" all all workarounds enabled\n"
" [no]rename fix renaming to existing file (default: off)\n"
" [no]truncate fix truncate for old servers (default: off)\n"
" [no]buflimit fix buffer fillup bug in server (default: on)\n"