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

Commit cd8dff22 authored by Paolo Valente's avatar Paolo Valente Committed by Razziell
Browse files

block/bfq: Fix commit "don't dereference bic before null checking it"



Change-Id: I5ca8c5aa6b9dcdf3449874d6e5e442a3e0b39c37
Signed-off-by: default avatarPaolo Valente <paolo.valente@linaro.org>
Signed-off-by: default avatarFAROVITUS <farovitus@gmail.com>
Signed-off-by: default avatarAlbert I <krascgq@outlook.co.id>
parent 24b63303
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4594,7 +4594,6 @@ static int bfq_set_request(struct request_queue *q, struct request *rq,
	bool bfqq_already_existing = false, split = false;

	spin_lock_irqsave(q->queue_lock, flags);
	bfq_check_ioprio_change(bic, bio);

	if (!bic)
		goto queue_fail;