diff options
author | Jens Axboe <axboe@kernel.dk> | 2020-12-20 18:47:42 +0100 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2020-12-20 18:47:42 +0100 |
commit | 446bc1c207331080d8c711a4456799b7d0b9df26 (patch) | |
tree | c31bbe59872e315353c6253a17fa74dce108b507 /fs/io-wq.h | |
parent | io_uring: make ctx cancel on exit targeted to actual ctx (diff) | |
download | linux-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.h | 2 |
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, |