diff options
author | 2021-04-01 15:44:03 +0100 | |
---|---|---|
committer | 2021-04-11 19:30:35 -0600 | |
commit | 846a4ef22bf6d6ede4547fe8fa500385a90c64ba (patch) | |
tree | cf48bd4060386b4d29f291dd3960b47a73504413 /include | |
parent | io_uring: don't quiesce intial files register (diff) | |
download | wireguard-linux-846a4ef22bf6d6ede4547fe8fa500385a90c64ba.tar.xz wireguard-linux-846a4ef22bf6d6ede4547fe8fa500385a90c64ba.zip |
io_uring: refactor file tables alloc/free
Introduce a heler io_free_file_tables() doing all the cleaning, there
are several places where it's hand coded. Also move all allocations into
io_sqe_alloc_file_tables() and rename it, so all of it is in one place.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/502a84ebf41ff119b095e59661e678eacb752bf8.1617287883.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions