summaryrefslogtreecommitdiffstats
path: root/io_uring/filetable.h
diff options
context:
space:
mode:
authorPavel Begunkov <asml.silence@gmail.com>2022-06-21 11:09:02 +0200
committerJens Axboe <axboe@kernel.dk>2022-07-25 02:39:15 +0200
commit024f15e033a52660a045947ee56c7e842180fa81 (patch)
tree7c4714c59f69440cb93aa93319d6db9dcc690fda /io_uring/filetable.h
parentio_uring: move list helpers to a separate file (diff)
downloadlinux-024f15e033a52660a045947ee56c7e842180fa81.tar.xz
linux-024f15e033a52660a045947ee56c7e842180fa81.zip
io_uring: dedup io_run_task_work
We have an identical copy of io_run_task_work() for io-wq called io_flush_signals(), deduplicate them. Signed-off-by: Pavel Begunkov <asml.silence@gmail.com> Link: https://lore.kernel.org/r/a157a4df5fa217b8bd03c73494f2fd0e24e44fbc.1655802465.git.asml.silence@gmail.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/filetable.h')
-rw-r--r--io_uring/filetable.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/io_uring/filetable.h b/io_uring/filetable.h
index 6b58aa48bc45..fb5a274c08ff 100644
--- a/io_uring/filetable.h
+++ b/io_uring/filetable.h
@@ -2,6 +2,8 @@
#ifndef IOU_FILE_TABLE_H
#define IOU_FILE_TABLE_H
+#include <linux/file.h>
+
struct io_ring_ctx;
struct io_kiocb;