]> git.baikalelectronics.ru Git - kernel.git/commit
scsi_transport_sas: always pass 0 error to blk_end_request_all
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Apr 2017 07:34:20 +0000 (09:34 +0200)
committerJens Axboe <axboe@fb.com>
Wed, 26 Apr 2017 13:53:29 +0000 (07:53 -0600)
commit8256efb4a6e59cf6f9958c27f60f8a17cfc6ec93
treeaa8ca3a45864182b8d6426289c22461a0472e82e
parent5564466fa863ef528b159a3464657a09c422d374
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>
drivers/scsi/scsi_transport_sas.c