commit | dafecf19e25f9b864ce0f3b8bb12de2e3d5f6da6 | [log] [tgz] |
---|---|---|
author | Pavel Begunkov <asml.silence@gmail.com> | Sun Feb 28 22:35:11 2021 +0000 |
committer | Jens Axboe <axboe@kernel.dk> | Sun Apr 11 17:41:58 2021 -0600 |
tree | d58679038235e33e39d69fc7041442d1ac873533 | |
parent | 2c4b8eb6435e615544b92acdcd4b25a85e83f300 [diff] |
io_uring: further deduplicate file slot selection io_fixed_file_slot() and io_file_from_index() behave pretty similarly, DRY and call one from another. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>