mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] scsi_lib: use blk_rq_tagged in scsi_request_fn
I goofed and did not see the macro for checking if a request is tagged. This patch has us use blk_rq_tagged instead of digging into the req->tag. Patch was made over scsi-misc. Signed-off-by: Mike Christie <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
b7b1a35ea5
commit
6bd522f6a2
1 changed files with 1 additions and 1 deletions
|
|
@ -1533,7 +1533,7 @@ static void scsi_request_fn(struct request_queue *q)
|
|||
* we add the dev to the starved list so it eventually gets
|
||||
* a run when a tag is freed.
|
||||
*/
|
||||
if (blk_queue_tagged(q) && (req->tag == -1)) {
|
||||
if (blk_queue_tagged(q) && !blk_rq_tagged(req)) {
|
||||
if (list_empty(&sdev->starved_entry))
|
||||
list_add_tail(&sdev->starved_entry,
|
||||
&shost->starved_list);
|
||||
|
|
|
|||
Loading…
Reference in a new issue