aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorNikolaus Rath <Nikolaus@rath.org>2016-10-02 20:44:00 -0700
committerNikolaus Rath <Nikolaus@rath.org>2016-10-02 20:51:15 -0700
commita10ee045e76cec75f9d8c08f78f0acc994302305 (patch)
tree500e81db46f46da5eab5e0cc663c50654b6354c7 /lib
parentb4c3478b166b1ef982f5d50d9e6746a409e65a15 (diff)
downloadlibfuse-a10ee045e76cec75f9d8c08f78f0acc994302305.tar.gz
fuse_mount_opts: don't keep max_read= option.
There is no consumer of it down the line.
Diffstat (limited to 'lib')
-rwxr-xr-xlib/fuse_lowlevel.c1
-rw-r--r--lib/mount.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/lib/fuse_lowlevel.c b/lib/fuse_lowlevel.c
index 8682c31..1d843d1 100755
--- a/lib/fuse_lowlevel.c
+++ b/lib/fuse_lowlevel.c
@@ -2622,7 +2622,6 @@ static const struct fuse_opt fuse_ll_opts[] = {
{ "no_writeback_cache", offsetof(struct fuse_ll, no_writeback_cache), 1},
{ "time_gran=%u", offsetof(struct fuse_ll, conn.time_gran), 0 },
{ "clone_fd", offsetof(struct fuse_ll, clone_fd), 1 },
- FUSE_OPT_KEY("max_read=", FUSE_OPT_KEY_DISCARD),
FUSE_OPT_KEY("-h", KEY_HELP),
FUSE_OPT_KEY("--help", KEY_HELP),
FUSE_OPT_KEY("-V", KEY_VERSION),
diff --git a/lib/mount.c b/lib/mount.c
index d7f4bdd..5001095 100644
--- a/lib/mount.c
+++ b/lib/mount.c
@@ -99,7 +99,6 @@ static const struct fuse_opt fuse_mount_opts[] = {
FUSE_OPT_KEY("defcontext=", KEY_KERN_OPT),
FUSE_OPT_KEY("rootcontext=", KEY_KERN_OPT),
FUSE_OPT_KEY("max_read=", KEY_KERN_OPT),
- FUSE_OPT_KEY("max_read=", FUSE_OPT_KEY_KEEP),
FUSE_OPT_KEY("user=", KEY_MTAB_OPT),
FUSE_OPT_KEY("-r", KEY_RO),
FUSE_OPT_KEY("ro", KEY_KERN_FLAG),