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",
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to