null_blk: don't pass always-0 req->errors to blk_mq_complete_request
authorChristoph Hellwig <hch@lst.de>
Thu, 20 Apr 2017 14:03:03 +0000 (16:03 +0200)
committerJens Axboe <axboe@fb.com>
Thu, 20 Apr 2017 18:16:10 +0000 (12:16 -0600)
commiteb1a61a3639f0726161d780299da6177ab35f9f9
tree8de8377d8d3e5f3a89b34632181d00c09abb60f0
parentfe2cb2905c3dc872158e7ce30df05d72c3989645
null_blk: don't pass always-0 req->errors to blk_mq_complete_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/null_blk.c