summaryrefslogtreecommitdiffstats
path: root/sys/geom/vinum
diff options
context:
space:
mode:
authorlulf <lulf@FreeBSD.org>2009-05-06 18:37:32 +0000
committerlulf <lulf@FreeBSD.org>2009-05-06 18:37:32 +0000
commitc2e31af67ea934f122ac84235cf4c359100fef1e (patch)
treeb1003c1d8bd38ba7c1e9faa870f2d7a6f0d98c18 /sys/geom/vinum
parent9192c52290fc804e1dfce512b4bb5c5ad8853e3b (diff)
downloadFreeBSD-src-c2e31af67ea934f122ac84235cf4c359100fef1e.zip
FreeBSD-src-c2e31af67ea934f122ac84235cf4c359100fef1e.tar.gz
- Add forgotten KASSERT.
Diffstat (limited to 'sys/geom/vinum')
-rw-r--r--sys/geom/vinum/geom_vinum.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c
index 98cc25d..42e0524 100644
--- a/sys/geom/vinum/geom_vinum.c
+++ b/sys/geom/vinum/geom_vinum.c
@@ -85,6 +85,7 @@ gv_post_bio(struct gv_softc *sc, struct bio *bp)
{
KASSERT(sc != NULL, ("NULL sc"));
+ KASSERT(bp != NULL, ("NULL bp"));
mtx_lock(&sc->bqueue_mtx);
bioq_disksort(sc->bqueue, bp);
wakeup(sc);
OpenPOWER on IntegriCloud