Restored interpreting UTIME_NOW and UTIME_OMIT from external fuse >= 2.9
Use of UTIME_NOW and UTIME_OMIT had been temporarily removed when using external fuse, because early versions of external fuse 2.9 did not support them. They can now be restored as they are supported by released versions of fuse 2.9edge.strict_endians
parent
f61aaf012c
commit
fa158031f2
|
@ -3286,11 +3286,11 @@ static void ntfs_fuse_destroy2(void *unused __attribute__((unused)))
|
|||
}
|
||||
|
||||
static struct fuse_operations ntfs_3g_ops = {
|
||||
#if defined(HAVE_UTIMENSAT) && defined(FUSE_INTERNAL)
|
||||
#if defined(HAVE_UTIMENSAT) && (defined(FUSE_INTERNAL) || (FUSE_VERSION > 28))
|
||||
/*
|
||||
* Accept UTIME_NOW and UTIME_OMIT in utimens, when
|
||||
* using internal fuse. There is no known way to implement
|
||||
* this feature on the high fuse interface up to fuse 2.8
|
||||
* using internal fuse or a fuse version since 2.9
|
||||
* (this field is not present in older versions)
|
||||
*/
|
||||
.flag_utime_omit_ok = 1,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue