author: Jia Cheng Hu <jia.jiachenghu@gmail.com> 2021-01-22 19:19:44 +0100
committer: Jens Axboe <axboe@kernel.dk> 2021-01-24 18:18:24 -0700
commit: d4fc3640ff361a09e359867e0bca898abd2b7ecb
parent: b5f74ecacc3139ef873e69acc3aba28083ecc416
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/block/bfq-iosched.c b/block/bfq-iosched.c
index eb2ca32d5b63..fdc5e163b2fe 100644
--- a/block/bfq-iosched.c
+++ b/block/bfq-iosched.c
@@ -4499,7 +4499,7 @@ check_queue:
bfqq = bfqq->bic->bfqq[0];
else if (bfq_bfqq_has_waker(bfqq) &&
bfq_bfqq_busy(bfqq->waker_bfqq) &&
- bfqq->next_rq &&
+ bfqq->waker_bfqq->next_rq &&
bfq_serv_to_charge(bfqq->waker_bfqq->next_rq,
bfqq->waker_bfqq) <=
bfq_bfqq_budget_left(bfqq->waker_bfqq)