io_uring/rsrc: remove io_rsrc_node::done
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 13 Apr 2023 14:28:06 +0000 (15:28 +0100)
committerJens Axboe <axboe@kernel.dk>
Sat, 15 Apr 2023 20:44:57 +0000 (14:44 -0600)
commitc732ea242d565c8281c4b017929fc62a246d81b9
treeb67c199d8228126ecb24c49ba2af02c85fc6fa7c
parent953c37e066f05a3dca2d74643574b8dfe8a83983
io_uring/rsrc: remove io_rsrc_node::done

Kill io_rsrc_node::node and check refs instead, it's set when the nodes
refcount hits zero, and it won't change afterwards.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/bbde361f4010f7e8bf196f1ecca27a763b79926f.1681395792.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/rsrc.c
io_uring/rsrc.h