Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/sys/ufs/lfs Pull up rev. 1.48:



details:   https://anonhg.NetBSD.org/src/rev/fb002a6d232c
branches:  netbsd-1-5
changeset: 488499:fb002a6d232c
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 13 20:19:20 2000 +0000

description:
Pull up rev. 1.48:
XXX Use of hzto() return value needs to be double-checked here.

diffstat:

 sys/ufs/lfs/lfs_syscalls.c |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 8e1d927864e0 -r fb002a6d232c sys/ufs/lfs/lfs_syscalls.c
--- a/sys/ufs/lfs/lfs_syscalls.c        Thu Jul 13 20:18:12 2000 +0000
+++ b/sys/ufs/lfs/lfs_syscalls.c        Thu Jul 13 20:19:20 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lfs_syscalls.c,v 1.41.4.2 2000/07/03 18:33:56 fvdl Exp $       */
+/*     $NetBSD: lfs_syscalls.c,v 1.41.4.3 2000/07/13 20:19:20 thorpej Exp $    */
 
 /*-
  * Copyright (c) 1999 The NetBSD Foundation, Inc.
@@ -860,6 +860,10 @@
                        return (error);
                if (itimerfix(&atv))
                        return (EINVAL);
+               /*
+                * XXX THIS COULD SLEEP FOREVER IF TIMEOUT IS {0,0}!
+                * XXX IS THAT WHAT IS INTENDED?
+                */
                s = splclock();
                timeradd(&atv, &time, &atv);
                timeout = hzto(&atv);



Home | Main Index | Thread Index | Old Index