summaryrefslogtreecommitdiffstats
path: root/io_uring/opdef.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-16 00:27:42 +0200
committerJens Axboe <axboe@kernel.dk>2022-07-25 02:39:12 +0200
commitd9b57aa3cfc792ccac6858376c017dbea6cb2872 (patch)
tree8fd8a6d7407df0a2f155d85f29acadd22f78090f /io_uring/opdef.h
parentio_uring: move read/write related opcodes to its own file (diff)
downloadlinux-d9b57aa3cfc792ccac6858376c017dbea6cb2872.tar.xz
linux-d9b57aa3cfc792ccac6858376c017dbea6cb2872.zip
io_uring: move opcode table to opdef.c
We already have the declarations in opdef.h, move the rest into its own file rather than in the main io_uring.c file. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/opdef.h')
-rw-r--r--io_uring/opdef.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/opdef.h b/io_uring/opdef.h
index 4578adcdba8a..ece8ed4f96c4 100644
--- a/io_uring/opdef.h
+++ b/io_uring/opdef.h
@@ -37,4 +37,6 @@ struct io_op_def {
};
extern const struct io_op_def io_op_defs[];
+
+void io_uring_optable_init(void);
#endif