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(); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"