VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   34 Branches   58 Tags
author: Jens Axboe <axboe@kernel.dk> 2021-01-19 15:53:54 -0700 committer: Jens Axboe <axboe@kernel.dk> 2021-02-01 10:02:43 -0700 commit: 4014d943cb62db892eb023d385a966a3fce5ee4c parent: 9eac1904d3364254d622bf2c771c4f85cd435fc2
Commit Summary:
io_uring/io-wq: kill off now unused IO_WQ_WORK_NO_CANCEL
Diffstat:
1 file changed, 0 insertions, 1 deletion
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++;