1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-18 15:30:21 +00:00

In mpt_complete_request_chain don't depend on somebody else to

remove the request from the TAILQ.
This commit is contained in:
Matt Jacob 2006-03-17 04:52:27 +00:00
parent a968ffc467
commit 9b7de73509
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=156796

View File

@ -673,7 +673,7 @@ mpt_complete_request_chain(struct mpt_softc *mpt, struct req_queue *chain,
while((req = TAILQ_FIRST(chain)) != NULL) {
MSG_REQUEST_HEADER *msg_hdr;
u_int cb_index;
TAILQ_REMOVE(chain, req, links);
msg_hdr = (MSG_REQUEST_HEADER *)req->req_vbuf;
ioc_status_frame.Function = msg_hdr->Function;
ioc_status_frame.MsgContext = msg_hdr->MsgContext;