PERFORCE change 116813 for review

Scott Long scottl at FreeBSD.org
Thu Mar 29 04:56:19 UTC 2007


http://perforce.freebsd.org/chv.cgi?CH=116813

Change 116813 by scottl at scottl-x64 on 2007/03/29 04:55:27

	Use xpt_alloc_ccb_nowait() to avoid malloc problems.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_pass.c#21 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/cam/scsi/scsi_pass.c#21 (text+ko) ====

@@ -490,7 +490,7 @@
 						inccb->ccb_h.pinfo.priority);
 			ccb_malloced = 0;
 		} else {
-			ccb = xpt_alloc_ccb(periph->sim);
+			ccb = xpt_alloc_ccb_nowait(periph->sim);
 
 			if (ccb != NULL)
 				xpt_setup_ccb(&ccb->ccb_h, periph->path,


More information about the p4-projects mailing list