Add assertion in probedone() that we're holding the device lock.
Submitted by: ken Reviewed by: asomers MFC after: 3 weeks Sponsored by: Spectra Logic Corp
This commit is contained in:
parent
18f23540d8
commit
1a69c11aab
@ -1171,6 +1171,7 @@ probedone(struct cam_periph *periph, union ccb *done_ccb)
|
||||
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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user