]> Git Repo - linux.git/commit
io_uring/rsrc: add io_reset_rsrc_node() helper
authorJens Axboe <[email protected]>
Tue, 29 Oct 2024 15:02:38 +0000 (09:02 -0600)
committerJens Axboe <[email protected]>
Sat, 2 Nov 2024 21:45:30 +0000 (15:45 -0600)
commit4007c3d8c22a2025367953f4ee36ae106a69d855
tree4180ac98a9b7f3ffbcc3d7a424a06f3147c67750
parent5f3829fdd69d746f36a5e87df21ce58470b8e9fa
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 <[email protected]>
io_uring/filetable.c
io_uring/rsrc.c
io_uring/rsrc.h
This page took 0.053009 seconds and 4 git commands to generate.