summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-12-20 18:47:42 +0100
committerJens Axboe <axboe@kernel.dk>2020-12-20 18:47:42 +0100
commit446bc1c207331080d8c711a4456799b7d0b9df26 (patch)
treec31bbe59872e315353c6253a17fa74dce108b507 /fs/io-wq.h
parentio_uring: make ctx cancel on exit targeted to actual ctx (diff)
downloadlinux-446bc1c207331080d8c711a4456799b7d0b9df26.tar.xz
linux-446bc1c207331080d8c711a4456799b7d0b9df26.zip
io-wq: kill now unused io_wq_cancel_all()
io_uring no longer issues full cancelations on the io-wq, so remove any remnants of this code and the IO_WQ_BIT_CANCEL flag. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.h')
-rw-r--r--fs/io-wq.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/io-wq.h b/fs/io-wq.h
index 75113bcd5889..b158f8addcf3 100644
--- a/fs/io-wq.h
+++ b/fs/io-wq.h
@@ -129,8 +129,6 @@ static inline bool io_wq_is_hashed(struct io_wq_work *work)
return work->flags & IO_WQ_WORK_HASHED;
}
-void io_wq_cancel_all(struct io_wq *wq);
-
typedef bool (work_cancel_fn)(struct io_wq_work *, void *);
enum io_wq_cancel io_wq_cancel_cb(struct io_wq *wq, work_cancel_fn *cancel,