summaryrefslogtreecommitdiff
path: root/io_uring/rsrc.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-10-25 08:54:28 -0600
committerJens Axboe <axboe@kernel.dk>2024-10-29 13:43:28 -0600
commitff1256b8f3c45f222bce19fbfc1e1bc498b31d03 (patch)
treeba718e262354bd5a82cee947557ab9f35791ea8a /io_uring/rsrc.h
parenta85f31052bce52111b4e9d5a536003481d0421d0 (diff)
io_uring/rsrc: move struct io_fixed_file to rsrc.h header
There's no need for this internal structure to be visible, move it to the private rsrc.h header instead. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rsrc.h')
-rw-r--r--io_uring/rsrc.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/io_uring/rsrc.h b/io_uring/rsrc.h
index c50d4be4aa6d..e072fb3ee351 100644
--- a/io_uring/rsrc.h
+++ b/io_uring/rsrc.h
@@ -40,6 +40,11 @@ struct io_rsrc_node {
struct io_rsrc_put item;
};
+struct io_fixed_file {
+ /* file * with additional FFS_* flags */
+ unsigned long file_ptr;
+};
+
struct io_mapped_ubuf {
u64 ubuf;
unsigned int len;