svn commit: r326777 - stable/11/sys/cam/scsi
Alan Somers
asomers at FreeBSD.org
Mon Dec 11 20:21:36 UTC 2017
Author: asomers
Date: Mon Dec 11 20:21:35 2017
New Revision: 326777
URL: https://svnweb.freebsd.org/changeset/base/326777
Log:
MFC r325959:
Add assertion in probedone() that we're holding the device lock.
Submitted by: ken
Reviewed by: asomers
Sponsored by: Spectra Logic Corp
Modified:
stable/11/sys/cam/scsi/scsi_xpt.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/cam/scsi/scsi_xpt.c
==============================================================================
--- stable/11/sys/cam/scsi/scsi_xpt.c Mon Dec 11 20:04:40 2017 (r326776)
+++ stable/11/sys/cam/scsi/scsi_xpt.c Mon Dec 11 20:21:35 2017 (r326777)
@@ -1128,6 +1128,7 @@ probedone(struct cam_periph *periph, union ccb *done_c
softc = (probe_softc *)periph->softc;
path = done_ccb->ccb_h.path;
priority = done_ccb->ccb_h.pinfo.priority;
+ cam_periph_assert(periph, MA_OWNED);
switch (softc->action) {
case PROBE_TUR:
More information about the svn-src-stable
mailing list