We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 791f346 commit ea6e7ceCopy full SHA for ea6e7ce
1 file changed
fs/io-wq.c
@@ -405,8 +405,7 @@ static void io_wqe_dec_running(struct io_worker *worker)
405
* Worker will start processing some work. Move it to the busy list, if
406
* it's currently on the freelist
407
*/
408
-static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker,
409
- struct io_wq_work *work)
+static void __io_worker_busy(struct io_wqe *wqe, struct io_worker *worker)
410
__must_hold(wqe->lock)
411
{
412
if (worker->flags & IO_WORKER_F_FREE) {
@@ -556,7 +555,7 @@ static void io_worker_handle_work(struct io_worker *worker)
556
555
557
work = io_get_next_work(acct, worker);
558
if (work)
559
- __io_worker_busy(wqe, worker, work);
+ __io_worker_busy(wqe, worker);
560
561
raw_spin_unlock(&wqe->lock);
562
if (!work)
0 commit comments