summaryrefslogtreecommitdiffstats
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2021-01-19 15:53:54 -0700
committerJens Axboe <axboe@kernel.dk>2021-02-01 10:02:43 -0700
commit4014d943cb62db892eb023d385a966a3fce5ee4c (patch)
tree2f529922e136f81793e1d6d1de3afbde5e8e6f62 /fs/io-wq.c
parent9eac1904d3364254d622bf2c771c4f85cd435fc2 (diff)
downloadlinux-stable-4014d943cb62db892eb023d385a966a3fce5ee4c.tar.gz
linux-stable-4014d943cb62db892eb023d385a966a3fce5ee4c.tar.bz2
linux-stable-4014d943cb62db892eb023d385a966a3fce5ee4c.zip
io_uring/io-wq: kill off now unused IO_WQ_WORK_NO_CANCEL
It's no longer used as IORING_OP_CLOSE got rid for the need of flagging it as uncancelable, kill it of. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
-rw-r--r--fs/io-wq.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/io-wq.c b/fs/io-wq.c
index a564f36e260c..2e2f14f42bf2 100644
--- a/fs/io-wq.c
+++ b/fs/io-wq.c
@@ -944,7 +944,6 @@ static bool io_wq_worker_cancel(struct io_worker *worker, void *data)
*/
spin_lock_irqsave(&worker->lock, flags);
if (worker->cur_work &&
- !(worker->cur_work->flags & IO_WQ_WORK_NO_CANCEL) &&
match->fn(worker->cur_work, match->data)) {
send_sig(SIGINT, worker->task, 1);
match->nr_running++;