From: Eric Biggers Date: Tue, 13 Nov 2012 00:29:51 +0000 (-0600) Subject: Set `struct fuse_operations' flags X-Git-Tag: v1.1.0~15 X-Git-Url: https://wimlib.net/git/?p=wimlib;a=commitdiff_plain;h=558fbdac286438e57df64cf9c72e372bc2f3149c 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. --- 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, };