summaryrefslogtreecommitdiffstats
path: root/include/linux/io_uring_types.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2022-06-18 19:44:33 -0600
committerJens Axboe <axboe@kernel.dk>2022-07-24 18:39:14 -0600
commitad163a7e2562230c77102c60f668bac440e60cce (patch)
treed693fdbf3837221c5952abc39fb954f18126f273 /include/linux/io_uring_types.h
parent48863ffd3e81b6ec98606d3479c50aa77b7a98a9 (diff)
downloadlinux-stable-ad163a7e2562230c77102c60f668bac440e60cce.tar.gz
linux-stable-ad163a7e2562230c77102c60f668bac440e60cce.tar.bz2
linux-stable-ad163a7e2562230c77102c60f668bac440e60cce.zip
io_uring: move a few private types to local headers
Commit 3a3d47fa9cfd ("io_uring: make io_uring_types.h public") moved a bunch of io_uring types to a kernel wide header, so we could make tracing a bit saner rather than pass in a ton of arguments. However, there are a few types in there that are not really needed to be system wide. Move the cancel data and mapped buffers back to the appropriate io_uring local headers. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'include/linux/io_uring_types.h')
-rw-r--r--include/linux/io_uring_types.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/io_uring_types.h b/include/linux/io_uring_types.h
index 779c72da5b8f..2015f3ea7cb7 100644
--- a/include/linux/io_uring_types.h
+++ b/include/linux/io_uring_types.h
@@ -528,27 +528,9 @@ struct io_kiocb {
struct io_wq_work work;
};
-struct io_cancel_data {
- struct io_ring_ctx *ctx;
- union {
- u64 data;
- struct file *file;
- };
- u32 flags;
- int seq;
-};
-
struct io_overflow_cqe {
struct list_head list;
struct io_uring_cqe cqe;
};
-struct io_mapped_ubuf {
- u64 ubuf;
- u64 ubuf_end;
- unsigned int nr_bvecs;
- unsigned long acct_pages;
- struct bio_vec bvec[];
-};
-
#endif