virtio_blk: don't use req->errors
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Apr 2017 14:03:00 +0000 (16:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 14:20:23 +0000 (08:20 -0600)
commita20322bf7aca62e1c8b356e278308a653f8c0253
treef8f3725d3bcecd06272ff35ff446f5c34b140048
parent6ddd215ddda82c9ee98378304b6a1494c79b61ba
virtio_blk: don't use req->errors

Remove passing req->errors (which at that point is always 0) to
blk_mq_complete_request, and rely on the virtio status code for the
serial number passthrough request.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/block/virtio_blk.c