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). --- include/fuse.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/fuse.h') diff --git a/include/fuse.h b/include/fuse.h index b05152d..36b168c 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -479,10 +479,16 @@ struct fuse_operations { */ unsigned int flag_nopath:1; + /** + * Flag indicating that the filesystem accepts special + * UTIME_NOW and UTIME_OMIT values in its utimens operation. + */ + unsigned int flag_utime_omit_ok:1; + /** * Reserved flags, don't set */ - unsigned int flag_reserved:30; + unsigned int flag_reserved:29; /** * Ioctl -- cgit v1.2.3