summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1998-03-10 17:40:38 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1998-03-10 17:40:38 +0000
commitd995f66d92e928d14846b1987fb939e50d407963 (patch)
treef0211a68aebb30dffe8768069ed70d0b01f8f931
parentc3291349fef87571336ccbf84a30fa3da2c425a8 (diff)
Clear dependcy list so we don't panic a soft updates kernel.
-rw-r--r--sys/dev/vnd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/vnd.c b/sys/dev/vnd.c
index f37121d2ee3..2aa8a1aaeb0 100644
--- a/sys/dev/vnd.c
+++ b/sys/dev/vnd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vnd.c,v 1.20 1997/11/06 05:58:08 csapuntz Exp $ */
+/* $OpenBSD: vnd.c,v 1.21 1998/03/10 17:40:37 millert Exp $ */
/* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */
/*
@@ -520,6 +520,7 @@ vndstrategy(bp)
nbp->vb_buf.b_dirtyend = bp->b_dirtyend;
nbp->vb_buf.b_validoff = bp->b_validoff;
nbp->vb_buf.b_validend = bp->b_validend;
+ LIST_INIT(&nbp->vb_buf.b_dep);
/* save a reference to the old buffer */
nbp->vb_obp = bp;