diff options
| author | Pavel Begunkov <[email protected]> | 2023-04-18 13:06:37 +0000 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2023-04-19 01:38:26 +0000 |
| commit | 26147da37f3e52041d9deba189d39f27ce78a84f (patch) | |
| tree | 34f7046ca88435e76a9a3cfaa552cd26229cc591 /lib/string_helpers.c | |
| parent | io_uring/rsrc: merge nodes and io_rsrc_put (diff) | |
| download | kernel-26147da37f3e52041d9deba189d39f27ce78a84f.tar.gz kernel-26147da37f3e52041d9deba189d39f27ce78a84f.zip | |
io_uring/rsrc: add empty flag in rsrc_node
Unless a node was flushed by io_rsrc_ref_quiesce(), it'll carry a
resource. Replace ->inline_items with an empty flag, which is
initialised to false and only raised in io_rsrc_ref_quiesce().
Signed-off-by: Pavel Begunkov <[email protected]>
Link: https://lore.kernel.org/r/75d384c9d2252e12af73b9cf8a44e1699106aeb1.1681822823.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
