]> 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)
commit3785da31bbba5bf0076c2937d883ded2b184446b
treeaa8ca3a45864182b8d6426289c22461a0472e82e
parent12d946d6c6c58ad9c372193680c5977c8519d1d8
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