projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5136a4f
)
scsi_transport_sas: always pass 0 error to blk_end_request_all
author
Christoph Hellwig
<hch@lst.de>
Wed, 26 Apr 2017 07:34:20 +0000
(09:34 +0200)
committer
Jens Axboe
<axboe@fb.com>
Wed, 26 Apr 2017 13:53:29 +0000
(07:53 -0600)
The SAS transport queues are only used by bsg, and bsg always looks at
the scsi_request results and never add the error passed in the end_io
callback.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/scsi/scsi_transport_sas.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/scsi/scsi_transport_sas.c
b/drivers/scsi/scsi_transport_sas.c
index a2b279737a4b46b821e4ac3b14a2393ce7b6cde5..9fdbd50c31b4545d455496e9e27f213c9eb6d7f9 100644
(file)
--- a/
drivers/scsi/scsi_transport_sas.c
+++ b/
drivers/scsi/scsi_transport_sas.c
@@
-186,7
+186,7
@@
static void sas_smp_request(struct request_queue *q, struct Scsi_Host *shost,
ret = handler(shost, rphy, req);
scsi_req(req)->result = ret;
- blk_end_request_all(req,
ret
);
+ blk_end_request_all(req,
0
);
spin_lock_irq(q->queue_lock);
}