summaryrefslogtreecommitdiff
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2021-02-04 13:52:07 +0000
committerJens Axboe <axboe@kernel.dk>2021-02-04 08:05:46 -0700
commitea64ec02b31d5b05ae94ac4d57e38f8a02117c76 (patch)
tree76563082ac8ad7c8f248a2a026efc02cb31127f8 /fs/io-wq.h
parent847595de1732a6e928f241929d24dde2e9ffaf15 (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.h')
0 files changed, 0 insertions, 0 deletions