From 00475b662ad28e7f09931eb67a642ba1ee36db99 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 26 Mar 1998 20:54:05 +0000 Subject: Add two new functions, get{micro|nano}time. They are atomic, but return in essence what is in the "time" variable. gettime() is now a macro front for getmicrotime(). Various patches to use the two new functions instead of the various hacks used in their absence. Some puntuation and grammer patches from Bruce. A couple of XXX comments. --- sys/ufs/ffs/ffs_inode.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys/ufs/ffs/ffs_inode.c') diff --git a/sys/ufs/ffs/ffs_inode.c b/sys/ufs/ffs/ffs_inode.c index 02ce546..3fd93dd 100644 --- a/sys/ufs/ffs/ffs_inode.c +++ b/sys/ufs/ffs/ffs_inode.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * @(#)ffs_inode.c 8.13 (Berkeley) 4/21/95 - * $Id: ffs_inode.c,v 1.37 1998/03/16 01:55:43 dyson Exp $ + * $Id: ffs_inode.c,v 1.38 1998/03/19 22:49:42 dyson Exp $ */ #include "opt_quota.h" @@ -102,6 +102,7 @@ ffs_update(vp, access, modify, waitfor) * * XXX there should be a function or macro for reading the time * (e.g., some machines may require splclock()). + * XXX there are: they're called get{micro|nano}time */ tv_sec = time.tv_sec; if (ip->i_flag & IN_ACCESS) -- cgit v1.1