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

io_uring/rsrc: add io_reset_rsrc_node() helper



Puts and reset an existing node in a slot, if one exists. Returns true
if a node was there, false if not. This helps cleanup some of the code
that does a lookup just to clear an existing node.

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