From owner-svn-src-all@FreeBSD.ORG Thu Aug 27 08:28:34 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 99FDE106568D; Thu, 27 Aug 2009 08:28:34 +0000 (UTC) (envelope-from pjd@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 88F918FC49; Thu, 27 Aug 2009 08:28:34 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n7R8SYYs089291; Thu, 27 Aug 2009 08:28:34 GMT (envelope-from pjd@svn.freebsd.org) Received: (from pjd@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n7R8SYFb089289; Thu, 27 Aug 2009 08:28:34 GMT (envelope-from pjd@svn.freebsd.org) Message-Id: <200908270828.n7R8SYFb089289@svn.freebsd.org> From: Pawel Jakub Dawidek Date: Thu, 27 Aug 2009 08:28:34 +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: r196579 - head/sys/geom/multipath 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: Thu, 27 Aug 2009 08:28:34 -0000 Author: pjd Date: Thu Aug 27 08:28:34 2009 New Revision: 196579 URL: http://svn.freebsd.org/changeset/base/196579 Log: Fix an obvious topology lock leak. MFC after: 3 days Modified: head/sys/geom/multipath/g_multipath.c Modified: head/sys/geom/multipath/g_multipath.c ============================================================================== --- head/sys/geom/multipath/g_multipath.c Thu Aug 27 07:11:47 2009 (r196578) +++ head/sys/geom/multipath/g_multipath.c Thu Aug 27 08:28:34 2009 (r196579) @@ -198,6 +198,7 @@ g_multipath_done_error(struct bio *bp) if (sc->cp_active == NULL) { printf("GEOM_MULTIPATH: out of providers for %s\n", sc->sc_name); + g_topology_unlock(); return; } else { printf("GEOM_MULTIPATH: %s now active path in %s\n",