diff --git a/io_uring/io-wq.c b/io_uring/io-wq.c index 8f555c1d7185..faa00f163e23 100644 --- a/io_uring/io-wq.c +++ b/io_uring/io-wq.c @@ -552,9 +552,9 @@ static void io_worker_handle_work(struct io_wq_acct *acct, __releases(&acct->lock) { struct io_wq *wq = worker->wq; - bool do_kill = test_bit(IO_WQ_BIT_EXIT, &wq->state); do { + bool do_kill = test_bit(IO_WQ_BIT_EXIT, &wq->state); struct io_wq_work *work; /*