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 12:29:53 +0000 (06:29 -0600)
commit26e6b1abf6c6c7e142f183940f754bab69b76a05
treeaf8bb4beade40dbd8fd96be388adceae9c67adde
parentf9b706bbf5b0c1df93f51a250ca01291734848b8
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