mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-14 05:55:17 +00:00
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: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
parent
70e3512509
commit
93e68e036c
1 changed files with 3 additions and 4 deletions
Loading…
Add table
Add a link
Reference in a new issue