From owner-freebsd-current@FreeBSD.ORG Thu Oct 21 21:04:35 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC00416A4CE for ; Thu, 21 Oct 2004 21:04:35 +0000 (GMT) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 122FE43D46 for ; Thu, 21 Oct 2004 21:04:35 +0000 (GMT) (envelope-from arr@watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.13.1/8.13.1) with ESMTP id i9LL4JlG032794 for ; Thu, 21 Oct 2004 17:04:19 -0400 (EDT) (envelope-from arr@watson.org) Received: from localhost (arr@localhost)i9LL4J9B032791 for ; Thu, 21 Oct 2004 17:04:19 -0400 (EDT) (envelope-from arr@watson.org) X-Authentication-Warning: fledge.watson.org: arr owned process doing -bs Date: Thu, 21 Oct 2004 17:04:19 -0400 (EDT) From: "Andrew R. Reiter" To: freebsd-current@FreeBSD.org Message-ID: <20041021170134.A31664@fledge.watson.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: patch: remove KASSERT()'s from g_load_class() X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Oct 2004 21:04:35 -0000 I will be committing this in a bit as I am waiting on write access to the repo. But for now the patch may be found at: http://people.freebsd.org/~arr/geom_class_loaded.diff This fixes a panic that occurs when trying to kldload a GEOM module that was already loaded. Instead of panic'ing, it will return a warning. Cheers, Andrew -- Andrew R. Reiter arr@watson.org arr@FreeBSD.org