Commit 85346613 authored by James Bottomley's avatar James Bottomley

[SCSI mid-layer] bug fix two missing blk_queue_end_tag()s

parent 8c0b740d
...@@ -261,6 +261,8 @@ void scsi_queue_next_request(request_queue_t * q, Scsi_Cmnd * SCpnt) ...@@ -261,6 +261,8 @@ void scsi_queue_next_request(request_queue_t * q, Scsi_Cmnd * SCpnt)
* the bad sector. * the bad sector.
*/ */
SCpnt->request->special = (void *) SCpnt; SCpnt->request->special = (void *) SCpnt;
if(blk_rq_tagged(SCpnt->request))
blk_queue_end_tag(q, SCpnt->request);
_elv_add_request(q, SCpnt->request, 0, 0); _elv_add_request(q, SCpnt->request, 0, 0);
} }
...@@ -979,6 +981,8 @@ void scsi_request_fn(request_queue_t * q) ...@@ -979,6 +981,8 @@ void scsi_request_fn(request_queue_t * q)
} }
SCpnt->request->special = SCpnt; SCpnt->request->special = SCpnt;
SCpnt->request->flags |= REQ_SPECIAL; SCpnt->request->flags |= REQ_SPECIAL;
if(blk_rq_tagged(SCpnt->request))
blk_queue_end_tag(q, SCpnt->request);
_elv_add_request(q, SCpnt->request, 0, 0); _elv_add_request(q, SCpnt->request, 0, 0);
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment