Skip to content
Commit 9d4a75ef authored by Stefano Garzarella's avatar Stefano Garzarella Committed by Jens Axboe
Browse files

io_uring: use an enumeration for io_uring_register(2) opcodes



The enumeration allows us to keep track of the last
io_uring_register(2) opcode available.

Behaviour and opcodes names don't change.

Signed-off-by: default avatarStefano Garzarella <sgarzare@redhat.com>
Reviewed-by: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent a3ec6005
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment