diff options
author | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-01 16:22:18 +0000 |
---|---|---|
committer | Thordur I. Bjornsson <thib@cvs.openbsd.org> | 2010-07-01 16:22:18 +0000 |
commit | 1ffb7ade678b3ec69a397d343e1f0f9121a03c49 (patch) | |
tree | cf5a8457ef54ce93a18dbba237d265d31e33c94e /sys/dev/vnd.c | |
parent | aff2b9345be290c54333846dd43ec79dc65bff5e (diff) |
for the allocated buf, set the b_bq flag to NULL so we do not
call bufq_done in biodone.
Diffstat (limited to 'sys/dev/vnd.c')
-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 ccbfe20a009..74fc629d9db 100644 --- a/sys/dev/vnd.c +++ b/sys/dev/vnd.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vnd.c,v 1.97 2010/05/18 04:41:14 dlg Exp $ */ +/* $OpenBSD: vnd.c,v 1.98 2010/07/01 16:22:17 thib Exp $ */ /* $NetBSD: vnd.c,v 1.26 1996/03/30 23:06:11 christos Exp $ */ /* @@ -570,6 +570,7 @@ vndstrategy(struct buf *bp) nbp->vb_buf.b_validoff = bp->b_validoff; nbp->vb_buf.b_validend = bp->b_validend; LIST_INIT(&nbp->vb_buf.b_dep); + nbp->vb_buf.b_bq = NULL; /* save a reference to the old buffer */ nbp->vb_obp = bp; |