diff options
author | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-20 15:45:32 -0700 |
---|---|---|
committer | Nikolaus Rath <Nikolaus@rath.org> | 2016-10-20 15:45:32 -0700 |
commit | 1d9f26f3736cc4703c2e988d87f5dd119bcd736d (patch) | |
tree | a2e7aabb5ce872585d0005eed196de9c0fdb029c /example | |
parent | 8ee553dac0297cfd75cbdd2d9cfdce37e22ef4ee (diff) |
Turn fuse_operations.nopath_flag into fuse_config.nullpath_ok
Modifying struct fuse_config in the init() handler is the canonical way
to adjust file-system implementation specific settings. There is no need
to have flags in struct fuse_operations.
Diffstat (limited to 'example')
-rw-r--r-- | example/passthrough_fh.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/example/passthrough_fh.c b/example/passthrough_fh.c index f74940d..781f717 100644 --- a/example/passthrough_fh.c +++ b/example/passthrough_fh.c @@ -57,6 +57,7 @@ static void *xmp_init(struct fuse_conn_info *conn, { (void) conn; cfg->use_ino = 1; + cfg->nullpath_ok = 1; return NULL; } |