From 558fbdac286438e57df64cf9c72e372bc2f3149c Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Mon, 12 Nov 2012 18:29:51 -0600 Subject: [PATCH] Set `struct fuse_operations' flags Set some flags in `struct fuse_operations'. Paths are not used by a number of wimfs functions such as wimfs_read() and wimfs_write(), so flag_nopath can specified. --- src/mount.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/mount.c b/src/mount.c index dc1e7d91..83615c1d 100644 --- a/src/mount.c +++ b/src/mount.c @@ -1833,6 +1833,10 @@ static struct fuse_operations wimfs_operations = { .utime = wimfs_utime, #endif .write = wimfs_write, + + .flag_nullpath_ok = 1, + .flag_nopath = 1, + .flag_utime_omit_ok = 1, }; -- 2.43.0