summaryrefslogtreecommitdiff
path: root/sys/kern/kern_physio.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>1999-12-02 20:39:33 +0000
committerArtur Grabowski <art@cvs.openbsd.org>1999-12-02 20:39:33 +0000
commit0483165bf55c00a68534d186d0dd85347b8516fc (patch)
tree176ce8e4384f522bba631de5ffcac1f2314bc335 /sys/kern/kern_physio.c
parent085c4cc8a52b5d1448f55c0bf1d89de804d30ab4 (diff)
Init the buffer dependency list.
Diffstat (limited to 'sys/kern/kern_physio.c')
-rw-r--r--sys/kern/kern_physio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/kern/kern_physio.c b/sys/kern/kern_physio.c
index 967ea544872..e454d9f4be6 100644
--- a/sys/kern/kern_physio.c
+++ b/sys/kern/kern_physio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kern_physio.c,v 1.6 1999/11/05 01:19:13 mickey Exp $ */
+/* $OpenBSD: kern_physio.c,v 1.7 1999/12/02 20:39:32 art Exp $ */
/* $NetBSD: kern_physio.c,v 1.28 1997/05/19 10:43:28 pk Exp $ */
/*-
@@ -137,6 +137,7 @@ physio(strategy, bp, dev, flags, minphys, uio)
bp->b_dev = dev;
bp->b_error = 0;
bp->b_proc = p;
+ LIST_INIT(&bp->b_dep);
/*
* [while there are data to transfer and no I/O error]