Date: Fri, 1 Dec 2006 03:22:39 GMT From: Scott Long <scottl@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 110779 for review Message-ID: <200612010322.kB13MdBB043924@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=110779 Change 110779 by scottl@scottl-x64 on 2006/12/01 03:22:04 Fix a possible leaked lock. Affected files ... .. //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#47 edit Differences ... ==== //depot/projects/scottl-camlock/src/sys/cam/cam_xpt.c#47 (text+ko) ==== @@ -2577,9 +2577,9 @@ mtx_unlock(&xsoftc.xpt_lock); mtx_lock(bus->sim->mtx); retval = tr_func(bus, arg); + mtx_unlock(bus->sim->mtx); if (retval == 0) return(retval); - mtx_unlock(bus->sim->mtx); mtx_lock(&xsoftc.xpt_lock); } mtx_unlock(&xsoftc.xpt_lock);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612010322.kB13MdBB043924>