Signalled support of UTIME_OMIT to external libfuse2
The external libfuse2 optionally uses UTIME_OMIT to tell whether mtime or ctime should not be changed in a utimensat(2) call. Set the flag flag_utime_omit_ok so that it knows that ntfs-3g supports this feature. Note : this is the default with internal libfuse and with libfuse3.pull/2/head
parent
dd75ea7420
commit
e5ee8b325c
|
@ -3965,6 +3965,9 @@ static struct fuse_operations ntfs_3g_ops = {
|
|||
.rmdir = ntfs_fuse_rmdir,
|
||||
#ifdef HAVE_UTIMENSAT
|
||||
.utimens = ntfs_fuse_utimens,
|
||||
#if defined(linux) & !defined(FUSE_INTERNAL) & (FUSE_VERSION < 30)
|
||||
.flag_utime_omit_ok = 1,
|
||||
#endif /* defined(linux) & !defined(FUSE_INTERNAL) */
|
||||
#else
|
||||
.utime = ntfs_fuse_utime,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue