Author: dfr
Date: Sun Jun 14 11:41:57 2020
New Revision: 362175
URL: https://svnweb.freebsd.org/changeset/base/362175
Log:
Add support for the timecreate attribute
This maps to the va_birthtime VFS attribute.
Modified:
head/sys/fs/nfs/nfs_commonsubs.c
Modified: head/sys/fs/nfs/nfs_commonsubs.c
==============================================================================
--- head/sys/fs/nfs/nfs_commonsubs.c Sun Jun 14 10:13:40 2020
(r362174)
+++ head/sys/fs/nfs/nfs_commonsubs.c Sun Jun 14 11:41:57 2020
(r362175)
@@ -2922,6 +2922,11 @@ nfsv4_fillattr(struct nfsrv_descript *nd, struct mount
txdr_nfsv4time(&vap->va_mtime, tl);
retnum += NFSX_V4TIME;
break;
+ case NFSATTRBIT_TIMECREATE:
+ NFSM_BUILD(tl, u_int32_t *, NFSX_V4TIME);
+ txdr_nfsv4time(&vap->va_birthtime, tl);
+ retnum += NFSX_V4TIME;
+ break;
case NFSATTRBIT_TIMEMODIFYSET:
if ((vap->va_vaflags & VA_UTIMES_NULL) == 0) {
NFSM_BUILD(tl, u_int32_t *, NFSX_V4SETTIME);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"