diff options
author | Thomas Bushnell <thomas@gnu.org> | 1999-02-03 21:06:42 +0000 |
---|---|---|
committer | Thomas Bushnell <thomas@gnu.org> | 1999-02-03 21:06:42 +0000 |
commit | a41e8964db998573319dc405283e4238d9f406b3 (patch) | |
tree | 7bb4941a47c0b1ddca6cfb0d5d63b943e09b6b02 /nfs | |
parent | 48fe1fad7bd90b7695806eb8ac431b09626fcaea (diff) |
1999-02-01 Mark Kettenis <kettenis@phys.uva.nl>
* ops.c: Include <maptime.h>.
(netfs_attempt_utimes): Fix various typo's.
Diffstat (limited to 'nfs')
-rw-r--r-- | nfs/ChangeLog | 5 | ||||
-rw-r--r-- | nfs/ops.c | 7 |
2 files changed, 9 insertions, 3 deletions
diff --git a/nfs/ChangeLog b/nfs/ChangeLog index c213b5c6..5099c1bf 100644 --- a/nfs/ChangeLog +++ b/nfs/ChangeLog @@ -1,3 +1,8 @@ +1999-02-01 Mark Kettenis <kettenis@phys.uva.nl> + + * ops.c: Include <maptime.h>. + (netfs_attempt_utimes): Fix various typo's. + Sun Jan 31 18:39:09 1999 Thomas Bushnell, BSG <tb@mit.edu> * nfs.c (xdr_encode_sattr_times): Convert nanoseconds to @@ -23,6 +23,7 @@ #include <stdio.h> #include <dirent.h> #include <unistd.h> +#include <maptime.h> /* We have fresh stat information for NP; the fattr structure is at P. Update our entry. Return the address of the next int after @@ -283,7 +284,7 @@ netfs_attempt_utimes (struct iouser *cred, struct node *np, just yet. */ if (!atime || !mtime) { - maptime_read (maptime, &tv); + maptime_read (mapped_time, &tv); current.tv_sec = tv.tv_sec; current.tv_nsec = tv.tv_usec * 1000; } @@ -292,8 +293,8 @@ netfs_attempt_utimes (struct iouser *cred, struct node *np, cred, 0, &rpcbuf, np, -1); p = xdr_encode_fhandle (p, &np->nn->handle); p = xdr_encode_sattr_times (p, - atime ?: current, - mtime ?: current); + atime ?: ¤t, + mtime ?: ¤t); if (protocol_version == 3) *p++ = 0; /* guard check == 0 */ |