From dcf0e9d179ea2db5ed04fa53fa6293d93894b21d Mon Sep 17 00:00:00 2001 From: Steven Hartland Date: Thu, 2 May 2013 14:19:42 +0000 Subject: [PATCH] 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(-) diff --git a/sys/cam/scsi/scsi_da.c b/sys/cam/scsi/scsi_da.c index c2cf2269c061..c98799c3fb2b 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);