Commit d9b57aa3 authored by Jens Axboe's avatar Jens Axboe

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: default avatarJens Axboe <axboe@kernel.dk>
parent f3b44f92
......@@ -7,5 +7,5 @@ obj-$(CONFIG_IO_URING) += io_uring.o xattr.o nop.o fs.o splice.o \
openclose.o uring_cmd.o epoll.o \
statx.o net.o msg_ring.o timeout.o \
sqpoll.o fdinfo.o tctx.o poll.o \
cancel.o kbuf.o rsrc.o rw.o
cancel.o kbuf.o rsrc.o rw.o opdef.o
obj-$(CONFIG_IO_WQ) += io-wq.o
This diff is collapsed.
......@@ -3,6 +3,8 @@
#include <linux/blkdev.h>
#include <linux/task_work.h>
#include <linux/bitmap.h>
#include <uapi/linux/io_uring.h>
#include "io-wq.h"
#include "filetable.h"
......
This diff is collapsed.
......@@ -37,4 +37,6 @@ struct io_op_def {
};
extern const struct io_op_def io_op_defs[];
void io_uring_optable_init(void);
#endif
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment