Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ec54361e authored by arter97's avatar arter97 Committed by Samuel Pascua
Browse files

block: bfq: add missing argument to function put_io_context

parent 842d5f70
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -2130,7 +2130,7 @@ static void bfq_exit_icq(struct io_cq *icq)
		 * shared bfq_queue.
		 */
		if (bfq_bfqq_coop(bic->bfqq[BLK_RW_SYNC]))
			put_io_context(icq->ioc);
			put_io_context(icq->ioc, bfqd->queue);
		bfq_exit_bfqq(bfqd, bic->bfqq[BLK_RW_SYNC]);
		bic->bfqq[BLK_RW_SYNC] = NULL;
	}
@@ -2695,7 +2695,7 @@ bfq_split_bfqq(struct bfq_io_cq *bic, struct bfq_queue *bfqq)
{
	bfq_log_bfqq(bfqq->bfqd, bfqq, "splitting queue");

	put_io_context(bic->icq.ioc);
	put_io_context(bic->icq.ioc, bfqq);

	if (bfqq_process_refs(bfqq) == 1) {
		bfqq->pid = current->pid;