Date: Fri, 20 Nov 2009 21:21:13 +0000 (UTC) From: Rick Macklem <rmacklem@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/fs/nfs nfs_var.h src/sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c Message-ID: <200911202121.nAKLLNGG058986@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2009-11-20 21:21:13 UTC
FreeBSD src repository
Modified files:
sys/fs/nfs nfs_var.h
sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c
Log:
SVN rev 199616 on 2009-11-20 21:21:13Z by rmacklem
Patch the experimental NFS server is a manner analagous to
r197525, so that the creation verifier is handled correctly
in va_atime for 64bit architectures. There were two problems.
One was that the code incorrectly assumed that
sizeof (struct timespec) == 8 and the other was that the tv_sec
field needs to be assigned from a signed 32bit integer, so that
sign extension occurs on 64bit architectures. This is required
for correct operation when exporting ZFS volumes.
Reviewed by: pjd
MFC after: 2 weeks
Revision Changes Path
1.7 +2 -2 src/sys/fs/nfs/nfs_var.h
1.16 +6 -7 src/sys/fs/nfsserver/nfs_nfsdport.c
1.6 +21 -10 src/sys/fs/nfsserver/nfs_nfsdserv.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911202121.nAKLLNGG058986>
