svn commit: r256559 - projects/camlock/sys/cam
Alexander Motin
mav at FreeBSD.org
Tue Oct 15 21:02:03 UTC 2013
Author: mav
Date: Tue Oct 15 21:02:02 2013
New Revision: 256559
URL: http://svnweb.freebsd.org/changeset/base/256559
Log:
Assert proper lock in newly MFC'ed code.
Modified:
projects/camlock/sys/cam/cam_xpt.c
Modified: projects/camlock/sys/cam/cam_xpt.c
==============================================================================
--- projects/camlock/sys/cam/cam_xpt.c Tue Oct 15 21:00:30 2013 (r256558)
+++ projects/camlock/sys/cam/cam_xpt.c Tue Oct 15 21:02:02 2013 (r256559)
@@ -1071,7 +1071,7 @@ xpt_denounce_periph(struct cam_periph *p
{
struct cam_path *path = periph->path;
- mtx_assert(periph->sim->mtx, MA_OWNED);
+ cam_periph_assert(periph, MA_OWNED);
printf("%s%d at %s%d bus %d scbus%d target %d lun %d\n",
periph->periph_name, periph->unit_number,
path->bus->sim->sim_name,
More information about the svn-src-projects
mailing list