Source-Changes-HG archive

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

[src/trunk]: src/gnu/sys/ufs/ffs sleep() -> tsleep()



details:   https://anonhg.NetBSD.org/src/rev/510a9caf7e0d
branches:  trunk
changeset: 486652:510a9caf7e0d
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Sat May 27 06:51:30 2000 +0000

description:
sleep() -> tsleep()

diffstat:

 gnu/sys/ufs/ffs/ffs_softdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 25008b83be9f -r 510a9caf7e0d gnu/sys/ufs/ffs/ffs_softdep.c
--- a/gnu/sys/ufs/ffs/ffs_softdep.c     Sat May 27 06:29:35 2000 +0000
+++ b/gnu/sys/ufs/ffs/ffs_softdep.c     Sat May 27 06:51:30 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ffs_softdep.c,v 1.9 2000/03/23 08:33:59 enami Exp $    */
+/*     $NetBSD: ffs_softdep.c,v 1.10 2000/05/27 06:51:30 thorpej Exp $ */
 
 /*
  * Copyright 1998 Marshall Kirk McKusick. All Rights Reserved.
@@ -4670,7 +4670,7 @@
                        return (0);
                bp->b_flags |= B_WANTED;
                s = FREE_LOCK_INTERLOCKED(&lk);
-               sleep((caddr_t)bp, PRIBIO + 1);
+               (void) tsleep(bp, PRIBIO + 1, "softgetdbuf", 0);
                ACQUIRE_LOCK_INTERLOCKED(&lk, s);
        }
        if ((bp->b_flags & B_DELWRI) == 0) {



Home | Main Index | Thread Index | Old Index