From 71bfb92607ce2312c8adb7359a6d883473c51748 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Tue, 10 Apr 2012 16:37:03 +0200 Subject: 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). --- example/fusexmp_fh.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'example') 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[]) -- cgit v1.2.3