diff options
author | Pavel Begunkov | 2021-02-04 13:52:07 +0000 |
---|---|---|
committer | Jens Axboe | 2021-02-04 08:05:46 -0700 |
commit | ea64ec02b31d5b05ae94ac4d57e38f8a02117c76 (patch) | |
tree | 76563082ac8ad7c8f248a2a026efc02cb31127f8 /fs/io-wq.c | |
parent | 847595de1732a6e928f241929d24dde2e9ffaf15 (diff) |
io_uring: deduplicate file table slot calculation
Extract a helper io_fixed_file_slot() returning a place in our fixed
files table, so we don't hand-code it three times in the code.
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions