summaryrefslogtreecommitdiffstats
path: root/sys/nfs/nfs_common.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1994-10-17 17:47:45 +0000
committerphk <phk@FreeBSD.org>1994-10-17 17:47:45 +0000
commit071d10f334b2e0094018c4b2027c8e3e73833bc1 (patch)
treec5905f4096b68df87a3f00435bec4fcc08408b18 /sys/nfs/nfs_common.h
parent24ec594f4ae8189490a0087923fc655e16dde331 (diff)
downloadFreeBSD-src-071d10f334b2e0094018c4b2027c8e3e73833bc1.zip
FreeBSD-src-071d10f334b2e0094018c4b2027c8e3e73833bc1.tar.gz
This is a bunch of changes from NetBSD. There are a couple of bug-fixes.
But mostly it is changes to use the list-maintenance macros instead of doing the pointer-gymnastics by hand. Obtained from: NetBSD
Diffstat (limited to 'sys/nfs/nfs_common.h')
-rw-r--r--sys/nfs/nfs_common.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h
index 954a92f..994c0b6 100644
--- a/sys/nfs/nfs_common.h
+++ b/sys/nfs/nfs_common.h
@@ -34,7 +34,7 @@
* SUCH DAMAGE.
*
* @(#)nfsm_subs.h 8.1 (Berkeley) 6/16/93
- * $Id: nfsm_subs.h,v 1.3 1994/08/21 06:50:10 paul Exp $
+ * $Id: nfsm_subs.h,v 1.4 1994/10/02 17:27:05 phk Exp $
*/
#ifndef _NFS_NFSM_SUBS_H_
@@ -264,8 +264,7 @@ extern struct mbuf *nfsm_reqh();
fp->fa_nfsblocks = txdr_unsigned(vap->va_bytes / NFS_FABLKSIZE); \
txdr_nfstime(&vap->va_atime, &fp->fa_nfsatime); \
txdr_nfstime(&vap->va_mtime, &fp->fa_nfsmtime); \
- fp->fa_nfsctime.nfs_sec = txdr_unsigned(vap->va_ctime.ts_sec); \
- fp->fa_nfsctime.nfs_usec = txdr_unsigned(vap->va_gen); \
+ txdr_nfstime(&vap->va_ctime, &fp->fa_nfsctime); \
} else { \
fp->fa_nqblocksize = txdr_unsigned(vap->va_blocksize); \
if (vap->va_type == VFIFO) \
OpenPOWER on IntegriCloud