io_uring: enumerate dynamic resources
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 25 Apr 2021 13:32:20 +0000 (14:32 +0100)
committerJens Axboe <axboe@kernel.dk>
Sun, 25 Apr 2021 16:14:04 +0000 (10:14 -0600)
commitfdecb66281e165927059419c3b1de09ffe4f8369
tree5fa876f32cde1d1a417d66f3397cf9d69da07ec1
parent98f0b3b4f1d51911492b9d6eda4add0ec562179b
io_uring: enumerate dynamic resources

As resources are getting more support and common parts, it'll be more
convenient to index resources and use it for indexing.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/f0be63e9310212d5601d36277c2946ff7a040485.1619356238.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/uapi/linux/io_uring.h