Author: mav
Date: Sun Apr 28 18:12:43 2013
New Revision: 250025
URL: http://svnweb.freebsd.org/changeset/base/250025

Log:
  Add some cam_freeze_devq()'s missed at r249466.
  This makes number of freezes match the number of releases.
  
  Reported by:  dim

Modified:
  head/sys/cam/scsi/scsi_xpt.c

Modified: head/sys/cam/scsi/scsi_xpt.c
==============================================================================
--- head/sys/cam/scsi/scsi_xpt.c        Sun Apr 28 17:58:11 2013        
(r250024)
+++ head/sys/cam/scsi/scsi_xpt.c        Sun Apr 28 18:12:43 2013        
(r250025)
@@ -883,6 +883,7 @@ again:
                 * 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 @@ again:
                 * 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 @@ again:
                 * routine finish up for us.
                 */
                start_ccb->csio.data_ptr = NULL;
+               cam_freeze_devq(periph->path);
                probedone(periph, start_ccb);
                return;
        }
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to