[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 <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>

authored by

Mike Christie and committed by
James Bottomley
6bd522f6 b7b1a35e

+1 -1
+1 -1
drivers/scsi/scsi_lib.c
··· 1533 1533 * we add the dev to the starved list so it eventually gets 1534 1534 * a run when a tag is freed. 1535 1535 */ 1536 - if (blk_queue_tagged(q) && (req->tag == -1)) { 1536 + if (blk_queue_tagged(q) && !blk_rq_tagged(req)) { 1537 1537 if (list_empty(&sdev->starved_entry)) 1538 1538 list_add_tail(&sdev->starved_entry, 1539 1539 &shost->starved_list);