diff options
author | Miklos Szeredi <mszeredi@suse.cz> | 2012-04-10 16:37:03 +0200 |
---|---|---|
committer | Miklos Szeredi <mszeredi@suse.cz> | 2012-04-10 16:37:03 +0200 |
commit | 71bfb92607ce2312c8adb7359a6d883473c51748 (patch) | |
tree | f7c5a7c5d493a40cc1b56e4932aa93805e71cd7a /example | |
parent | 6f77e7de6f0ad9a8d6991c213841c926acc53a96 (diff) |
Add 'flag_utime_omit_ok' flag to fuse_operations
If the filesystem sets this flag then ->utimens() will receive UTIME_OMIT and
UTIME_NOW values as specified in utimensat(2).
Diffstat (limited to 'example')
-rw-r--r-- | example/fusexmp_fh.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/example/fusexmp_fh.c b/example/fusexmp_fh.c index 57053ca..e9524c6 100644 --- a/example/fusexmp_fh.c +++ b/example/fusexmp_fh.c @@ -539,6 +539,9 @@ static struct fuse_operations xmp_oper = { .flock = xmp_flock, .flag_nullpath_ok = 1, +#if HAVE_UTIMENSAT + .flag_utime_omit_ok = 1, +#endif }; int main(int argc, char *argv[]) |