diff options
author | Jens Axboe <axboe@kernel.dk> | 2023-12-19 18:54:20 +0300 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2023-12-19 18:54:20 +0300 |
commit | c43203154d8ac579537aa0c7802b77d463b1f53a (patch) | |
tree | 3189729fcc95e68c14ecfa33cbb70fbbfce2c1b0 /io_uring/register.h | |
parent | dc18b89ab113e9c6c7a529316ddf7029fb55132d (diff) | |
download | linux-c43203154d8ac579537aa0c7802b77d463b1f53a.tar.xz |
io_uring/register: move io_uring_register(2) related code to register.c
Most of this code is basically self contained, move it out of the core
io_uring file to bring a bit more separation to the registration related
bits. This moves another ~10% of the code into register.c.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/register.h')
-rw-r--r-- | io_uring/register.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/io_uring/register.h b/io_uring/register.h new file mode 100644 index 000000000000..c9da997d503c --- /dev/null +++ b/io_uring/register.h @@ -0,0 +1,8 @@ +// SPDX-License-Identifier: GPL-2.0 +#ifndef IORING_REGISTER_H +#define IORING_REGISTER_H + +int io_eventfd_unregister(struct io_ring_ctx *ctx); +int io_unregister_personality(struct io_ring_ctx *ctx, unsigned id); + +#endif |