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",
_______________________________________________
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