io_uring: add basic fixed file allocator
authorJens Axboe <axboe@kernel.dk>
Sat, 7 May 2022 20:20:40 +0000 (14:20 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 14:57:54 +0000 (08:57 -0600)
commitc18a56320ad39d72a5d8033a5e8126b437cf63bc
tree80e856b9353720c33624fbcaa09ab1143d4e21d3
parentfb5c6a7ed6e2b4248025e288fcaae107b16aa9e0
io_uring: add basic fixed file allocator

Applications currently always pick where they want fixed files to go.
In preparation for allowing these types of commands with multishot
support, add a basic allocator in the fixed file table.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c