diff options
author | Stefan Metzmacher <metze@samba.org> | 2021-03-15 12:56:56 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2021-03-18 09:44:35 -0600 |
commit | 53e043b2b432ef2294efec04dd8a88d96c024624 (patch) | |
tree | 8820014555fc76d428b0c15ee3e37f91e5b0729f /fs/io-wq.h | |
parent | 76cd979f4f38a27df22efb5773a0d567181a9392 (diff) |
io_uring: remove structures from include/linux/io_uring.h
Link: https://lore.kernel.org/r/8c1d14f3748105f4caeda01716d47af2fa41d11c.1615809009.git.metze@samba.org
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r-- | fs/io-wq.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h index 1ac2f3248088..80d590564ff9 100644 --- a/fs/io-wq.h +++ b/fs/io-wq.h @@ -2,7 +2,6 @@ #define INTERNAL_IO_WQ_H #include <linux/refcount.h> -#include <linux/io_uring.h> struct io_wq; @@ -21,6 +20,15 @@ enum io_wq_cancel { IO_WQ_CANCEL_NOTFOUND, /* work not found */ }; +struct io_wq_work_node { + struct io_wq_work_node *next; +}; + +struct io_wq_work_list { + struct io_wq_work_node *first; + struct io_wq_work_node *last; +}; + static inline void wq_list_add_after(struct io_wq_work_node *node, struct io_wq_work_node *pos, struct io_wq_work_list *list) |