From 1d9f26f3736cc4703c2e988d87f5dd119bcd736d Mon Sep 17 00:00:00 2001 From: Nikolaus Rath Date: Thu, 20 Oct 2016 15:45:32 -0700 Subject: 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. --- example/passthrough_fh.c | 1 + 1 file changed, 1 insertion(+) (limited to 'example') 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; } -- cgit v1.2.3