commit | 40ae0ff70fb1379cb00041ef4061681e5e84e7f9 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Apr 01 15:43:44 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 19:30:34 2021 -0600 |
tree | 613f5140f651d8aa660fcbe1ead71ff9efab6de0 | |
parent | 82fbcfa996e0b0f66ae0187082b0704d0ba50bdd [diff] |
io_uring: move rsrc_put callback into io_rsrc_data io_rsrc_node's callback operates only on a single io_rsrc_data and only with its resources, so rsrc_put() callback is actually a property of io_rsrc_data. Move it there, it makes code much nicecr. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/9417c2fba3c09e8668f05747006a603d416d34b4.1617287883.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>