aboutsummaryrefslogtreecommitdiff
path: root/io_uring/fdinfo.h
diff options
context:
space:
mode:
authorGravatar Jens Axboe <axboe@kernel.dk> 2022-05-25 10:40:19 -0600
committerGravatar Jens Axboe <axboe@kernel.dk> 2022-07-24 18:39:12 -0600
commita4ad4f748ea96202451f88b6385d7283d0f2e513 (patch)
treefc51a4da80a7e654e34699aa86f1603995995432 /io_uring/fdinfo.h
parentio_uring: use io_is_uring_fops() consistently (diff)
downloadlinux-a4ad4f748ea96202451f88b6385d7283d0f2e513.tar.gz
linux-a4ad4f748ea96202451f88b6385d7283d0f2e513.tar.bz2
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.h3
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);