PERFORCE change 173369 for review

Alexander Motin mav at FreeBSD.org
Tue Jan 19 14:45:31 UTC 2010


http://p4web.freebsd.org/chv.cgi?CH=173369

Change 173369 by mav at mav_mavtest on 2010/01/19 14:44:49

	Clear CAM_DEV_QFRZN after it was handled.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#48 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/cam_periph.c#48 (text+ko) ====

@@ -934,12 +934,14 @@
 
 	} while (error == ERESTART);
           
-	if ((ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) 
+	if ((ccb->ccb_h.status & CAM_DEV_QFRZN) != 0) {
 		cam_release_devq(ccb->ccb_h.path,
 				 /* relsim_flags */0,
 				 /* openings */0,
 				 /* timeout */0,
 				 /* getcount_only */ FALSE);
+		ccb->ccb_h.status &= ~CAM_DEV_QFRZN;
+	}
 
 	if (ds != NULL) {
 		if (ccb->ccb_h.func_code == XPT_SCSI_IO) {


More information about the p4-projects mailing list