Skip to content
Commit f38f2847 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring: only initialize io_kiocb rsrc_nodes when needed



Add the empty node initializing to the preinit part of the io_kiocb
allocation, and reset them if they have been used.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 0701db74
Loading
Loading
Loading
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