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 /include | |
parent | 6f77e7de6f0ad9a8d6991c213841c926acc53a96 (diff) | |
download | android_external_fuse-71bfb92607ce2312c8adb7359a6d883473c51748.tar.gz android_external_fuse-71bfb92607ce2312c8adb7359a6d883473c51748.tar.bz2 android_external_fuse-71bfb92607ce2312c8adb7359a6d883473c51748.zip |
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 'include')
-rw-r--r-- | include/fuse.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/fuse.h b/include/fuse.h index b05152d..36b168c 100644 --- a/include/fuse.h +++ b/include/fuse.h @@ -480,9 +480,15 @@ 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 |