diff options
author | Jens Axboe <axboe@kernel.dk> | 2024-10-29 09:02:38 -0600 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2024-11-02 15:45:30 -0600 |
commit | 4007c3d8c22a2025367953f4ee36ae106a69d855 (patch) | |
tree | 4180ac98a9b7f3ffbcc3d7a424a06f3147c67750 /io_uring/splice.h | |
parent | 5f3829fdd69d746f36a5e87df21ce58470b8e9fa (diff) |
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: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/splice.h')
0 files changed, 0 insertions, 0 deletions