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 14:57:31 +0000 (08:57 -0600)
commitfb5c6a7ed6e2b4248025e288fcaae107b16aa9e0
tree7bd4c6a2d87b9c24de621585e15214f5ae70215d
parent7ccba24d3bc084d891def1a6fea504e4cb327a8c
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