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)
commitd188b90c48e418e102a1f42872b13dfe386ab6a7
treeaa8ca3a45864182b8d6426289c22461a0472e82e
parent5136a4fd5832af12ec5e5961c52a27a524a0a9d9
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