]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
nfscl: Add support for va_birthtime to NFSv4
authorRick Macklem <rmacklem@FreeBSD.org>
Sat, 8 May 2021 00:30:56 +0000 (17:30 -0700)
committerRick Macklem <rmacklem@FreeBSD.org>
Sat, 22 May 2021 01:16:01 +0000 (18:16 -0700)
commitb7ef4b7eb23dd88901aceb569225a79161e08e3d
treebfb08085efbb33722c67554617689cc88796e0a7
parent942e69146ea242e94d1e5486c5d04a96c91e2bd3
nfscl: Add support for va_birthtime to NFSv4

There is a NFSv4 file attribute called TimeCreate
that can be used for va_birthtime.
r362175 added some support for use of TimeCreate.
This patch completes support of va_birthtime by adding
support for setting this attribute to the server.
It also eanbles the client to
acquire and set the attribute for a NFSv4
server that supports the attribute.

(cherry picked from commit dd02d9d605b6d8849e858d7644bb84b45c606b46)
sys/fs/nfs/nfs_commonsubs.c
sys/fs/nfs/nfsproto.h
sys/fs/nfsclient/nfs_clcomsubs.c
sys/fs/nfsclient/nfs_clport.c
sys/fs/nfsclient/nfs_clrpcops.c
sys/fs/nfsclient/nfs_clvnops.c
sys/fs/nfsserver/nfs_nfsdserv.c