diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-04-02 18:35:12 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2006-04-02 18:35:12 +0000 |
commit | 7d8833c8d0e498e7d3bbfee2f416c779e66fbac8 (patch) | |
tree | 11c563137e15d1caf13363843ce552c2c65f69ec /sys/nfs/nfs_serv.c | |
parent | 243fe6257fd9d75a6d920a7e5d08da309a512190 (diff) |
When setting timestamps TOSERVER having write permissions is adaquate;
problem experienced by Han Boetes; fix with "nfs4" rick at snowhite
dot cis dot uoguelph dot ca. ok pedro@ tedu@
Diffstat (limited to 'sys/nfs/nfs_serv.c')
-rw-r--r-- | sys/nfs/nfs_serv.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/nfs/nfs_serv.c b/sys/nfs/nfs_serv.c index 049b1a3e3dc..8a77269caa4 100644 --- a/sys/nfs/nfs_serv.c +++ b/sys/nfs/nfs_serv.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_serv.c,v 1.39 2005/06/18 18:09:43 millert Exp $ */ +/* $OpenBSD: nfs_serv.c,v 1.40 2006/04/02 18:35:11 otto Exp $ */ /* $NetBSD: nfs_serv.c,v 1.34 1997/05/12 23:37:12 fvdl Exp $ */ /* @@ -233,6 +233,7 @@ nfsrv_setattr(nfsd, slp, procp, mrq) nfsm_srvmtofh(fhp); VATTR_NULL(&va); if (v3) { + va.va_vaflags |= VA_UTIMES_NULL; nfsm_srvsattr(&va); nfsm_dissect(tl, u_int32_t *, NFSX_UNSIGNED); gcheck = fxdr_unsigned(int, *tl); |