summaryrefslogtreecommitdiff
path: root/io_uring/filetable.h
diff options
context:
space:
mode:
Diffstat (limited to 'io_uring/filetable.h')
-rw-r--r--io_uring/filetable.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/io_uring/filetable.h b/io_uring/filetable.h
index 6e1675f406b7..c404360f7090 100644
--- a/io_uring/filetable.h
+++ b/io_uring/filetable.h
@@ -3,6 +3,7 @@
#define IOU_FILE_TABLE_H
struct io_ring_ctx;
+struct io_kiocb;
/*
* FFS_SCM is only available on 64-bit archs, for 32-bit we just define it as 0
@@ -34,7 +35,9 @@ struct io_file_table {
bool io_alloc_file_tables(struct io_file_table *table, unsigned nr_files);
void io_free_file_tables(struct io_file_table *table);
-int io_file_bitmap_get(struct io_ring_ctx *ctx);
+
+int io_fixed_fd_install(struct io_kiocb *req, unsigned int issue_flags,
+ struct file *file, unsigned int file_slot);
unsigned int io_file_get_flags(struct file *file);