]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
fusefs: forward UTIME_NOW to the server
authorAlan Somers <asomers@FreeBSD.org>
Thu, 16 May 2019 23:17:39 +0000 (23:17 +0000)
committerAlan Somers <asomers@FreeBSD.org>
Thu, 16 May 2019 23:17:39 +0000 (23:17 +0000)
commitfe221e0177ca1d3013f7a1a45964d30377d706a9
tree65ca1d22d33916565009f423478610fe3876d8ca
parente7f73af118bc93ffbde5b70d787d3cffd2812e19
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