Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Aug 2009 08:28:34 +0000 (UTC)
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r196579 - head/sys/geom/multipath
Message-ID:  <200908270828.n7R8SYFb089289@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908270828.n7R8SYFb089289>