Skip to content
Snippets Groups Projects
Commit 93e68e03 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: move all io_kiocb init early in io_init_req()


If we hit an error path in the function, make sure that the io_kiocb is
fully initialized at that point so that freeing the request always sees
a valid state.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 70e35125
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment