aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-18 21:23:22 -0700
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-10-20 15:32:20 -0700
commit8ee553dac0297cfd75cbdd2d9cfdce37e22ef4ee (patch)
treeadce5564ea418e2c7427ca2e4488bc67177da636 /lib
parentcb8fa961dcfddc0fa7ed864161b74de0b66ee5c0 (diff)
fuse_new(): don't accept options that don't make sense for end-users
Several options (use_ino, etc) depend on the file system implementation. Allowing them to be set from the command line makes no sense.
Diffstat (limited to 'lib')
-rw-r--r--lib/fuse.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index f469378..1595cc8 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -4360,10 +4360,6 @@ static const struct fuse_opt fuse_lib_opts[] = {
FUSE_OPT_KEY("-d", FUSE_OPT_KEY_KEEP),
FUSE_LIB_OPT("debug", debug, 1),
FUSE_LIB_OPT("-d", debug, 1),
- FUSE_LIB_OPT("hard_remove", hard_remove, 1),
- FUSE_LIB_OPT("use_ino", use_ino, 1),
- FUSE_LIB_OPT("readdir_ino", readdir_ino, 1),
- FUSE_LIB_OPT("direct_io", direct_io, 1),
FUSE_LIB_OPT("kernel_cache", kernel_cache, 1),
FUSE_LIB_OPT("auto_cache", auto_cache, 1),
FUSE_LIB_OPT("noauto_cache", auto_cache, 0),
@@ -4380,8 +4376,6 @@ static const struct fuse_opt fuse_lib_opts[] = {
FUSE_LIB_OPT("negative_timeout=%lf", negative_timeout, 0),
FUSE_LIB_OPT("noforget", remember, -1),
FUSE_LIB_OPT("remember=%u", remember, 0),
- FUSE_LIB_OPT("intr", intr, 1),
- FUSE_LIB_OPT("intr_signal=%d", intr_signal, 0),
FUSE_LIB_OPT("modules=%s", modules, 0),
FUSE_OPT_END
};