Fix an obvious topology lock leak.

MFC after:	3 days
This commit is contained in:
Pawel Jakub Dawidek 2009-08-27 08:28:34 +00:00
parent 7bcee7f336
commit c16ce31b31
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196579

View File

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