diff options
author | Jens Axboe <axboe@kernel.dk> | 2022-05-25 18:40:19 +0200 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2022-07-25 02:39:12 +0200 |
commit | a4ad4f748ea96202451f88b6385d7283d0f2e513 (patch) | |
tree | fc51a4da80a7e654e34699aa86f1603995995432 /io_uring/fdinfo.h | |
parent | io_uring: use io_is_uring_fops() consistently (diff) | |
download | linux-a4ad4f748ea96202451f88b6385d7283d0f2e513.tar.xz linux-a4ad4f748ea96202451f88b6385d7283d0f2e513.zip |
io_uring: move fdinfo helpers to its own file
This also means moving a bit more of the fixed file handling to the
filetable side, which makes sense separately too.
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/fdinfo.h')
-rw-r--r-- | io_uring/fdinfo.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/io_uring/fdinfo.h b/io_uring/fdinfo.h new file mode 100644 index 000000000000..6fde48c450e3 --- /dev/null +++ b/io_uring/fdinfo.h @@ -0,0 +1,3 @@ +// SPDX-License-Identifier: GPL-2.0 + +void io_uring_show_fdinfo(struct seq_file *m, struct file *f); |