svn commit: r196937 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci geom/multipath

Pawel Jakub Dawidek pjd at FreeBSD.org
Mon Sep 7 16:25:10 UTC 2009


Author: pjd
Date: Mon Sep  7 16:25:09 2009
New Revision: 196937
URL: http://svn.freebsd.org/changeset/base/196937

Log:
  MFC r196579:
  
  Fix an obvious topology lock leak.
  
  Approved by:	re (kib)

Modified:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)
  stable/8/sys/geom/multipath/g_multipath.c

Modified: stable/8/sys/geom/multipath/g_multipath.c
==============================================================================
--- stable/8/sys/geom/multipath/g_multipath.c	Mon Sep  7 16:19:32 2009	(r196936)
+++ stable/8/sys/geom/multipath/g_multipath.c	Mon Sep  7 16:25:09 2009	(r196937)
@@ -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",


More information about the svn-src-stable-8 mailing list