Date: Tue, 8 Dec 2009 22:28:55 +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: <200912082229.nB8MT89U080693@repoman.freebsd.org>
index | next in thread | raw e-mail
rmacklem 2009-12-08 22:28:55 UTC
FreeBSD src repository
Modified files: (Branch: RELENG_8)
sys/fs/nfs nfs_var.h
sys/fs/nfsserver nfs_nfsdport.c nfs_nfsdserv.c
Log:
SVN rev 200277 on 2009-12-08 22:28:55Z by rmacklem
MFC: r199616
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.
Tested by: gerrit at pmp.uni-hannover.de
Reviewed by: pjd
Revision Changes Path
1.6.2.2 +2 -2 src/sys/fs/nfs/nfs_var.h
1.15.2.2 +6 -7 src/sys/fs/nfsserver/nfs_nfsdport.c
1.5.2.2 +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?200912082229.nB8MT89U080693>
