aboutsummaryrefslogtreecommitdiff
path: root/lib/fuse_i.h
diff options
context:
space:
mode:
authorGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-22 16:34:21 -0800
committerGravatar Nikolaus Rath <Nikolaus@rath.org>2016-11-22 16:34:21 -0800
commit4175f969bdacf76113f74cc0e8d419aec845317f (patch)
treef8bdaff89b13610d2190fe2e4005824410b37011 /lib/fuse_i.h
parent05de3c98c07e636e007e7ecf6516508426d02c83 (diff)
Make handling of -oallow_root easier to understand
-oallow_root is handled in userspace, and requires passing -oallow_other to the kernel. This patch should make the code easier to understand and avoid the confusion that gave rise to issue #86.
Diffstat (limited to 'lib/fuse_i.h')
-rw-r--r--lib/fuse_i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fuse_i.h b/lib/fuse_i.h
index 1e99c6f..54466f6 100644
--- a/lib/fuse_i.h
+++ b/lib/fuse_i.h
@@ -47,7 +47,7 @@ struct fuse_session {
int fd;
struct mount_opts *mo;
int debug;
- int allow_root;
+ int deny_others;
struct fuse_lowlevel_ops op;
int got_init;
struct cuse_data *cuse_data;