summaryrefslogtreecommitdiff
path: root/fs/io-wq.h
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2020-12-20 10:47:42 -0700
committerJens Axboe <axboe@kernel.dk>2020-12-20 10:47:42 -0700
commit446bc1c207331080d8c711a4456799b7d0b9df26 (patch)
treec31bbe59872e315353c6253a17fa74dce108b507 /fs/io-wq.h
parent00c18640c2430c4bafaaeede1f9dd6f7ec0e4b25 (diff)
downloadlinux-rpi-446bc1c207331080d8c711a4456799b7d0b9df26.tar.gz
linux-rpi-446bc1c207331080d8c711a4456799b7d0b9df26.tar.bz2
linux-rpi-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,