summaryrefslogtreecommitdiff
path: root/sys/nfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:08:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-07-27 11:08:49 +0000
commit7718e0220a2559fc77e76baa1b8b583af64bde74 (patch)
treea571016dce85316917e1ce705262f88c9bac8c37 /sys/nfs
parent7ffbcf37f7f8ebc1ba71f1048cb765fbb0995e32 (diff)
use mtime for v3 setattr
Diffstat (limited to 'sys/nfs')
-rw-r--r--sys/nfs/nfs_vnops.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfs/nfs_vnops.c b/sys/nfs/nfs_vnops.c
index be548f70cda..487652fb986 100644
--- a/sys/nfs/nfs_vnops.c
+++ b/sys/nfs/nfs_vnops.c
@@ -1,5 +1,5 @@
-/* $OpenBSD: nfs_vnops.c,v 1.10 1996/07/23 21:32:33 deraadt Exp $ */
-/* $NetBSD: nfs_vnops.c,v 1.62 1996/05/11 18:26:49 mycroft Exp $ */
+/* $OpenBSD: nfs_vnops.c,v 1.11 1996/07/27 11:08:48 deraadt Exp $ */
+/* $NetBSD: nfs_vnops.c,v 1.62.4.1 1996/07/08 20:26:52 jtc Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -710,7 +710,7 @@ nfs_setattrrpc(vp, vap, cred, procp)
if (vap->va_mtime.tv_sec != time.tv_sec) {
nfsm_build(tl, u_int32_t *, 3 * NFSX_UNSIGNED);
*tl++ = txdr_unsigned(NFSV3SATTRTIME_TOCLIENT);
- txdr_nfsv3time(&vap->va_atime, tl);
+ txdr_nfsv3time(&vap->va_mtime, tl);
} else {
nfsm_build(tl, u_int32_t *, NFSX_UNSIGNED);
*tl = txdr_unsigned(NFSV3SATTRTIME_TOSERVER);