diff options
author | Anton Ivanov <anton.ivanov@cambridgegreys.com> | 2018-11-08 14:07:23 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-11-08 14:16:09 +0100 |
commit | 0033dfd92a5646a78025e86f8df4d5b18181ba2c (patch) | |
tree | aedd22c50839066987f771bd1ad09cb9c7e8f10e /Documentation/numastat.txt | |
parent | block: Clear kernel memory before copying to user (diff) | |
download | linux-0033dfd92a5646a78025e86f8df4d5b18181ba2c.tar.xz linux-0033dfd92a5646a78025e86f8df4d5b18181ba2c.zip |
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>
Diffstat (limited to 'Documentation/numastat.txt')
0 files changed, 0 insertions, 0 deletions