From b26d00ee134eaefb8e2977a314386efaef2eda2b Mon Sep 17 00:00:00 2001 From: smh Date: Thu, 2 May 2013 14:19:42 +0000 Subject: Fix probe in progress check in dareprobe Reviewed by: mav Approved by: pjd (mentor) MFC after: 1 week --- sys/cam/scsi/scsi_da.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/cam/scsi') diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index c2cf226..c98799c3 100644 --- a/sys/cam/scsi/scsi_da.c +++ b/sys/cam/scsi/scsi_da.c @@ -3200,7 +3200,7 @@ dareprobe(struct cam_periph *periph) softc = (struct da_softc *)periph->softc; /* Probe in progress; don't interfere. */ - if ((softc->flags & DA_FLAG_PROBED) == 0) + if (softc->state != DA_STATE_NORMAL) return; status = cam_periph_acquire(periph); -- cgit v1.1