io_uring: track fixed files with a bitmap
authorJens Axboe <axboe@kernel.dk>
Sat, 7 May 2022 15:56:13 +0000 (09:56 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 12:29:53 +0000 (06:29 -0600)
commitf9b706bbf5b0c1df93f51a250ca01291734848b8
treeea4192bb1bdd08b443b97ad65fbf42bdedbb24f5
parent53dcacc723203111328e2fcc21b4f440b233c1ed
io_uring: track fixed files with a bitmap

In preparation for adding a basic allocator for direct descriptors,
add helpers that set/clear whether a file slot is used.

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