diff options
author | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
---|---|---|
committer | dg <dg@FreeBSD.org> | 1994-08-20 03:49:02 +0000 |
commit | c97639b9230d9c3f9032d935d7892c5b513c8814 (patch) | |
tree | f43f29ef28a2342dd7be499cf286557b75ae9f56 /sys/miscfs/portal | |
parent | 255b8baf81cdff10b66cd0893b98779e34305ff1 (diff) | |
download | FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.zip FreeBSD-src-c97639b9230d9c3f9032d935d7892c5b513c8814.tar.gz |
1) cleaned up after Garrett - fixed more redundant declarations, changed
use of timeout_t -> timeout_func_t in aha1542 and aha1742 drivers.
2) fix a bug in the portalfs that was uncovered by better prototyping -
specifically, the time must be converted from timeval to timespec
before storing in va_atime.
3) fixed/added some miscellaneous prototypes
Diffstat (limited to 'sys/miscfs/portal')
-rw-r--r-- | sys/miscfs/portal/portal_vnops.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/miscfs/portal/portal_vnops.c b/sys/miscfs/portal/portal_vnops.c index c19e815..b3c3694 100644 --- a/sys/miscfs/portal/portal_vnops.c +++ b/sys/miscfs/portal/portal_vnops.c @@ -35,7 +35,7 @@ * * @(#)portal_vnops.c 8.8 (Berkeley) 1/21/94 * - * $Id: portal_vnops.c,v 1.4 1992/05/30 10:05:24 jsp Exp jsp $ + * $Id: portal_vnops.c,v 1.2 1994/05/25 09:08:21 rgrimes Exp $ */ /* @@ -431,7 +431,8 @@ portal_getattr(ap) vap->va_fsid = vp->v_mount->mnt_stat.f_fsid.val[0]; vap->va_size = DEV_BSIZE; vap->va_blocksize = DEV_BSIZE; - microtime(&vap->va_atime); + microtime((struct timeval *)&vap->va_atime); + TIMEVAL_TO_TIMESPEC((struct timeval *)&vap->va_atime, (struct timespec *)&vap->va_atime); vap->va_mtime = vap->va_atime; vap->va_ctime = vap->va_ctime; vap->va_gen = 0; |