diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-10 17:40:38 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1998-03-10 17:40:38 +0000 |
commit | d995f66d92e928d14846b1987fb939e50d407963 (patch) | |
tree | f0211a68aebb30dffe8768069ed70d0b01f8f931 | |
parent | c3291349fef87571336ccbf84a30fa3da2c425a8 (diff) |
Clear dependcy list so we don't panic a soft updates kernel.
-rw-r--r-- | sys/dev/vnd.c | 3 |
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; |