commit | c87fd583f3b5ef770af33893394ea37c7a10b5b8 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Apr 13 15:28:13 2023 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sat Apr 15 14:45:49 2023 -0600 |
tree | 2ccd8f4bda3a055677062fcbb9ac9e61fcfbfa03 | |
parent | 9a57fffedc0ee078418a7793ab29cd3864205340 [diff] |
io_uring/rsrc: simplify single file node switching At maximum io_install_fixed_file() removes only one file, so no need to keep needs_switch state and we can call io_rsrc_node_switch() right after removal. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/37cfb46f46160f81dced79f646e97db608994574.1681395792.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>