From e7468428455c36d23071e7929a0d76c041992e6d Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Sun, 28 Apr 2013 18:12:43 +0000 Subject: [PATCH] Add some cam_freeze_devq()'s missed at r249466. This makes number of freezes match the number of releases. Reported by: dim --- sys/cam/scsi/scsi_xpt.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sys/cam/scsi/scsi_xpt.c b/sys/cam/scsi/scsi_xpt.c index f94deff95c70..74bfb0aa9909 100644 --- a/sys/cam/scsi/scsi_xpt.c +++ b/sys/cam/scsi/scsi_xpt.c @@ -883,6 +883,7 @@ probestart(struct cam_periph *periph, union ccb *start_ccb) * routine finish up for us. */ start_ccb->csio.data_ptr = NULL; + cam_freeze_devq(periph->path); probedone(periph, start_ccb); return; } @@ -913,6 +914,7 @@ probestart(struct cam_periph *periph, union ccb *start_ccb) * routine finish up for us. */ start_ccb->csio.data_ptr = NULL; + cam_freeze_devq(periph->path); probedone(periph, start_ccb); return; } @@ -952,6 +954,7 @@ probestart(struct cam_periph *periph, union ccb *start_ccb) * routine finish up for us. */ start_ccb->csio.data_ptr = NULL; + cam_freeze_devq(periph->path); probedone(periph, start_ccb); return; }