]> git.baikalelectronics.ru Git - kernel.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)
commitf0a5c5026d36dbb04348f1c2f915dfdbaaae5529
tree4f68369fa16d59e1f41edb2165ae6cbae8aabee7
parent3c20312a9a70da703b0bbb47387eafb10bc9a20b
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