diff options
author | Pavel Begunkov <asml.silence@gmail.com> | 2023-04-13 15:28:13 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-04-15 14:45:49 -0600 |
commit | c87fd583f3b5ef770af33893394ea37c7a10b5b8 (patch) | |
tree | 2ccd8f4bda3a055677062fcbb9ac9e61fcfbfa03 /io_uring/rsrc.c | |
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>
Diffstat (limited to 'io_uring/rsrc.c')
0 files changed, 0 insertions, 0 deletions