diff options
author | smh <smh@FreeBSD.org> | 2013-05-02 14:19:42 +0000 |
---|---|---|
committer | smh <smh@FreeBSD.org> | 2013-05-02 14:19:42 +0000 |
commit | b26d00ee134eaefb8e2977a314386efaef2eda2b (patch) | |
tree | eef7c466cd23d70c7a10545d2eb1be622ab4d266 /sys/cam/scsi | |
parent | 27c55395e5cd13d39759fd5622e5a3c45481f53c (diff) | |
download | FreeBSD-src-b26d00ee134eaefb8e2977a314386efaef2eda2b.zip FreeBSD-src-b26d00ee134eaefb8e2977a314386efaef2eda2b.tar.gz |
Fix probe in progress check in dareprobe
Reviewed by: mav
Approved by: pjd (mentor)
MFC after: 1 week
Diffstat (limited to 'sys/cam/scsi')
-rw-r--r-- | sys/cam/scsi/scsi_da.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |