From 7718e0220a2559fc77e76baa1b8b583af64bde74 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Sat, 27 Jul 1996 11:08:49 +0000 Subject: use mtime for v3 setattr --- sys/nfs/nfs_vnops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sys/nfs') 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); -- cgit v1.2.3