PERFORCE change 164401 for review

Alexander Motin mav at FreeBSD.org
Mon Jun 15 07:15:21 UTC 2009


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

Change 164401 by mav at mav_mavbook on 2009/06/15 07:15:06

	Fix error status of the right command.

Affected files ...

.. //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#33 edit

Differences ...

==== //depot/projects/scottl-camlock/src/sys/dev/ahci/ahci.c#33 (text+ko) ====

@@ -1379,8 +1379,8 @@
 				res->sector_count = data[12];
 				res->sector_count_exp = data[13];
 			} else {
-				ccb->ccb_h.status &= ~CAM_STATUS_MASK;
-				ccb->ccb_h.status |= CAM_REQUEUE_REQ;
+				ch->hold[i]->ccb_h.status &= ~CAM_STATUS_MASK;
+				ch->hold[i]->ccb_h.status |= CAM_REQUEUE_REQ;
 			}
 			xpt_done(ch->hold[i]);
 			ch->hold[i] = NULL;


More information about the p4-projects mailing list