mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-05 14:14:54 +00:00
scsi_transport_sas: always pass 0 error to blk_end_request_all
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>
This commit is contained in:
parent
5136a4fd58
commit
d188b90c48
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue