svn commit: r257482 - head/sys/cam
Alexander Motin
mav at FreeBSD.org
Fri Nov 1 00:14:15 UTC 2013
Author: mav
Date: Fri Nov 1 00:14:15 2013
New Revision: 257482
URL: http://svnweb.freebsd.org/changeset/base/257482
Log:
Fix lock recursion, triggered by `smartctl -a /dev/adaX`.
Modified:
head/sys/cam/cam_xpt.c
Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c Thu Oct 31 23:58:31 2013 (r257481)
+++ head/sys/cam/cam_xpt.c Fri Nov 1 00:14:15 2013 (r257482)
@@ -2200,7 +2200,7 @@ xptperiphtraverse(struct cam_ed *device,
for (; periph != NULL; periph = next_periph) {
retval = tr_func(periph, arg);
if (retval == 0) {
- cam_periph_release(periph);
+ cam_periph_release_locked(periph);
break;
}
xpt_lock_buses();
More information about the svn-src-all
mailing list