Set `struct fuse_operations' flags
authorEric Biggers <ebiggers3@gmail.com>
Tue, 13 Nov 2012 00:29:51 +0000 (18:29 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Tue, 13 Nov 2012 00:29:51 +0000 (18:29 -0600)
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

index dc1e7d91b6faa59f610a255ee9147f11af24fb4f..83615c1db2204bd304549da6fb094e7e542d02ad 100644 (file)
@@ -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,
 };