commit | 846a4ef22bf6d6ede4547fe8fa500385a90c64ba | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Thu Apr 01 15:44:03 2021 +0100 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 19:30:35 2021 -0600 |
tree | cf48bd4060386b4d29f291dd3960b47a73504413 | |
parent | f4f7d21ce46474128934caeb80dfb1e5396b596e [diff] |
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>