Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 15 Jun 2009 07:15:16 GMT
From:      Alexander Motin <mav@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 164401 for review
Message-ID:  <200906150715.n5F7FGjd096192@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=164401

Change 164401 by mav@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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200906150715.n5F7FGjd096192>