Anton Ivanov 0033dfd92a ubd: fix missing initialization of io_req
The SYNC path doesn't initialize io_req->error, which can cause
random errors. Before the conversion to blk-mq, we always
completed requests with BLK_STS_OK status, but now we actually
look at the error field and this issue becomes apparent.

Signed-off-by: Anton Ivanov <anton.ivanov@cambridgegreys.com>

[axboe: fixed up commit message to explain what is actually going on]

Signed-off-by: Jens Axboe <axboe@kernel.dk>
2018-11-08 06:16:09 -07:00
..
2018-02-19 19:38:51 +01:00
2013-03-11 10:08:04 +01:00
2018-08-02 08:03:23 +09:00
2018-02-19 19:38:51 +01:00
2015-05-31 22:05:32 +02:00
2015-12-08 22:26:00 +01:00
2009-04-01 08:59:17 -07:00
2018-02-19 19:38:51 +01:00
2013-03-11 10:08:03 +01:00
2009-04-01 08:59:17 -07:00
2009-04-01 08:59:17 -07:00
2016-12-14 22:46:55 +01:00
2016-12-14 22:46:55 +01:00
2007-10-16 09:43:05 -07:00
2009-04-01 08:59:17 -07:00