summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe
diff options
context:
space:
mode:
authoroster <oster@NetBSD.org>1999-12-03 02:43:22 +0000
committeroster <oster@NetBSD.org>1999-12-03 02:43:22 +0000
commit3888a71ad1cd616ff294c718af051d558158693f (patch)
tree471d321cc8f1d7744635b9bb9bc51ad3159a34ce /sys/dev/raidframe
parente7f8f72d9dbf2e2c95f1e4201808ffd73697d52c (diff)
Move LIST_INIT() to a more appropriate place.
Diffstat (limited to 'sys/dev/raidframe')
-rw-r--r--sys/dev/raidframe/rf_netbsdkintf.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c
index 085d9393191..de5560a8ab1 100644
--- a/sys/dev/raidframe/rf_netbsdkintf.c
+++ b/sys/dev/raidframe/rf_netbsdkintf.c
@@ -1,4 +1,4 @@
-/* $NetBSD: rf_netbsdkintf.c,v 1.31 1999/11/18 13:28:06 oster Exp $ */
+/* $NetBSD: rf_netbsdkintf.c,v 1.32 1999/12/03 02:43:22 oster Exp $ */
/*-
* Copyright (c) 1996, 1997, 1998 The NetBSD Foundation, Inc.
* All rights reserved.
@@ -1584,6 +1584,8 @@ rf_DispatchKernelIO(queue, req)
raidbp->rf_obp = bp;
raidbp->req = req;
+ LIST_INIT(&raidbp->rf_buf.b_dep);
+
switch (req->type) {
case RF_IO_TYPE_NOP: /* used primarily to unlock a locked queue */
/* Dprintf2("rf_DispatchKernelIO: NOP to r %d c %d\n",
@@ -1775,7 +1777,6 @@ InitBP(
#if 0
db1_printf(("bp->b_data=0x%x\n", bp->b_data));
#endif
- LIST_INIT(&bp->b_dep);
bp->b_blkno = startSect;
bp->b_resid = bp->b_bcount; /* XXX is this right!??!?!! */
db1_printf(("b_bcount is: %d\n", (int) bp->b_bcount));