diff options
author | 2010-07-01 16:22:17 +0000 | |
---|---|---|
committer | 2010-07-01 16:22:17 +0000 | |
commit | a1bbeb68a789a027626dd28013be7b86ca30b3a9 (patch) | |
tree | 74dbac2c47d09d5e9a2625fffa4cafdf524bfd28 /sys/dev/vnd.c | |
parent | ioctl XS_SENSE/XS_SHORTSENSE should print the sense info like (diff) | |
download | wireguard-openbsd-a1bbeb68a789a027626dd28013be7b86ca30b3a9.tar.xz wireguard-openbsd-a1bbeb68a789a027626dd28013be7b86ca30b3a9.zip |
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; |