summaryrefslogtreecommitdiff
path: root/sys/kern/vfs_bio.c
diff options
context:
space:
mode:
authorJohn Dyson <dyson@FreeBSD.org>1997-08-09 10:13:32 +0000
committerJohn Dyson <dyson@FreeBSD.org>1997-08-09 10:13:32 +0000
commitc0ecffb96bb4f37878fe38d2bc80d6e664c21a7f (patch)
tree9664dcdc90407a374e6358fa9329e8b2a4aa139e /sys/kern/vfs_bio.c
parentae4efed2686bdb13a2bb876a0bd6c18b0b75128e (diff)
Notes
Diffstat (limited to 'sys/kern/vfs_bio.c')
-rw-r--r--sys/kern/vfs_bio.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/vfs_bio.c b/sys/kern/vfs_bio.c
index f2477e56c771..1239dfb9c4ae 100644
--- a/sys/kern/vfs_bio.c
+++ b/sys/kern/vfs_bio.c
@@ -18,7 +18,7 @@
* 5. Modifications may be freely made to this file if the above conditions
* are met.
*
- * $Id: vfs_bio.c,v 1.120 1997/06/13 08:30:40 bde Exp $
+ * $Id: vfs_bio.c,v 1.121 1997/06/15 17:56:49 dyson Exp $
*/
/*
@@ -1717,7 +1717,11 @@ biowait(register struct buf * bp)
s = splbio();
while ((bp->b_flags & B_DONE) == 0)
+#if defined(NO_SCHEDULE_MODS)
tsleep(bp, PRIBIO, "biowait", 0);
+#else
+ tsleep(bp, curproc->p_usrpri, "biowait", 0);
+#endif
splx(s);
if (bp->b_flags & B_EINTR) {
bp->b_flags &= ~B_EINTR;