From: Nikolaus Rath Date: Mon, 3 Oct 2016 03:44:00 +0000 (-0700) Subject: fuse_mount_opts: don't keep max_read= option. X-Git-Tag: fuse-3.0.0pre0~10 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=a10ee045e76cec75f9d8c08f78f0acc994302305;p=qemu-gpiodev%2Flibfuse.git fuse_mount_opts: don't keep max_read= option. There is no consumer of it down the line. --- 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),