From c2e31af67ea934f122ac84235cf4c359100fef1e Mon Sep 17 00:00:00 2001 From: lulf Date: Wed, 6 May 2009 18:37:32 +0000 Subject: - Add forgotten KASSERT. --- sys/geom/vinum/geom_vinum.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/geom') 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); -- cgit v1.1