]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: forward UTIME_NOW to the server
authorasomers <asomers@FreeBSD.org>
Thu, 16 May 2019 23:17:39 +0000 (23:17 +0000)
committerasomers <asomers@FreeBSD.org>
Thu, 16 May 2019 23:17:39 +0000 (23:17 +0000)
commit1967b8440a56839a768ee82ba11a99da4f14ee65
tree65ca1d22d33916565009f423478610fe3876d8ca
parent8d3f928350677afa4fade877bcd5039bf8527fbc
fusefs: forward UTIME_NOW to the server

If a user sets both atime and mtime to UTIME_NOW when calling a syscall like
utimensat(2), allow the server to choose what "now" means.  Due to the
design of FreeBSD's VFS, it's not possible to do this for just one of atime
or mtime; it's all or none.

PR: 237181
Sponsored by: The FreeBSD Foundation
sys/fs/fuse/fuse_internal.c
tests/sys/fs/fusefs/setattr.cc