OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d25ff7
)
scsi: osd: initiator should use mq variant of request ending
author
Jens Axboe
<axboe@kernel.dk>
Tue, 16 Oct 2018 14:33:16 +0000
(08:33 -0600)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 16 Oct 2018 21:48:35 +0000
(17:48 -0400)
This is currently wrong since it isn't dependent on if we're using mq or
not. At least now it'll be correct when we force mq.
Cc: linux-scsi@vger.kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/osd/osd_initiator.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/osd/osd_initiator.c
b/drivers/scsi/osd/osd_initiator.c
index
67b1457
..
e19fa88
100644
(file)
--- a/
drivers/scsi/osd/osd_initiator.c
+++ b/
drivers/scsi/osd/osd_initiator.c
@@
-445,7
+445,7
@@
static void _put_request(struct request *rq)
* code paths.
*/
if (unlikely(rq->bio))
- blk_
end_request(rq, BLK_STS_IOERR, blk_rq_bytes(rq)
);
+ blk_
mq_end_request(rq, BLK_STS_IOERR
);
else
blk_put_request(rq);
}