]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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 18:16:10 +0000 (12:16 -0600)
commitd19633d5375b8f4735c389c80865dfbf0474992a
tree4f68369fa16d59e1f41edb2165ae6cbae8aabee7
parenta1a6e62b79d70dee85522d791f1a5b20e1c2cc17
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