From owner-svn-src-all@FreeBSD.ORG Wed May 6 18:37:32 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C84931065673; Wed, 6 May 2009 18:37:32 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id B75F38FC13; Wed, 6 May 2009 18:37:32 +0000 (UTC) (envelope-from lulf@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n46IbWP9026291; Wed, 6 May 2009 18:37:32 GMT (envelope-from lulf@svn.freebsd.org) Received: (from lulf@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n46IbWUC026290; Wed, 6 May 2009 18:37:32 GMT (envelope-from lulf@svn.freebsd.org) Message-Id: <200905061837.n46IbWUC026290@svn.freebsd.org> From: Ulf Lilleengen Date: Wed, 6 May 2009 18:37:32 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r191853 - head/sys/geom/vinum X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 May 2009 18:37:33 -0000 Author: lulf Date: Wed May 6 18:37:32 2009 New Revision: 191853 URL: http://svn.freebsd.org/changeset/base/191853 Log: - Add forgotten KASSERT. Modified: head/sys/geom/vinum/geom_vinum.c Modified: head/sys/geom/vinum/geom_vinum.c ============================================================================== --- head/sys/geom/vinum/geom_vinum.c Wed May 6 18:27:28 2009 (r191852) +++ head/sys/geom/vinum/geom_vinum.c Wed May 6 18:37:32 2009 (r191853) @@ -85,6 +85,7 @@ gv_post_bio(struct gv_softc *sc, struct { KASSERT(sc != NULL, ("NULL sc")); + KASSERT(bp != NULL, ("NULL bp")); mtx_lock(&sc->bqueue_mtx); bioq_disksort(sc->bqueue, bp); wakeup(sc);