PERFORCE change 110779 for review
Scott Long
scottl at FreeBSD.org
Thu Nov 30 19:22:41 PST 2006
http://perforce.freebsd.org/chv.cgi?CH=110779
Change 110779 by scottl at 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);
More information about the p4-projects
mailing list