svn commit: r196579 - head/sys/geom/multipath
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Aug 27 08:28:34 UTC 2009
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",
More information about the svn-src-all
mailing list