blktrace: use errno instead of bi_status
authorChaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Thu, 4 Jun 2020 07:13:28 +0000 (00:13 -0700)
committerJens Axboe <axboe@kernel.dk>
Fri, 5 Jun 2020 03:23:38 +0000 (21:23 -0600)
commit48bc3cd3e07a1486f45d9971c75d6090976c3b1b
tree4fa25144ad5789564d352f25960c245cae784755
parent15b81ce5abdc4b502aa31dff2d415b79d2349d2f
blktrace: use errno instead of bi_status

In blk_add_trace_spliti() blk_add_trace_bio_remap() use
blk_status_to_errno() to pass the error instead of pasing the bi_status.
This fixes the sparse warning.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c