diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-26 17:44:31 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:12 +0200 |
commit | c98817e6cd4471a6f6283813dd6efea162f5ac5f (patch) | |
tree | 53e03d1a9e466e8a68c4cad65346d02351a6604c /io_uring/filetable.h | |
parent | io_uring: move rsrc related data, core, and commands (diff) | |
download | linux-c98817e6cd4471a6f6283813dd6efea162f5ac5f.tar.xz linux-c98817e6cd4471a6f6283813dd6efea162f5ac5f.zip |
io_uring: move remaining file table manipulation to filetable.c
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/filetable.h')
-rw-r--r-- | io_uring/filetable.h | 5 |
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); |