From: Jens Axboe Date: Mon, 1 Nov 2021 19:40:12 +0000 (-0600) Subject: block: replace always false argument with 'false' X-Git-Tag: v6.6.17~8868^2~16 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b22809092c70099f4d8c3b6f3d34c5bc89b300ea;p=platform%2Fkernel%2Flinux-rpi.git block: replace always false argument with 'false' A previous commit fixed up the condition for doing direct issue, but that left the 'from_schedule' argument dead inside the branch. Replace it with 'false'. Fixes: ff1552232b36 ("blk-mq: don't issue request directly in case that current is to be blocked") Reviewed-by: Ming Lei Signed-off-by: Jens Axboe --- diff --git a/block/blk-mq.c b/block/blk-mq.c index 4787d5b..8aed6ce 100644 --- a/block/blk-mq.c +++ b/block/blk-mq.c @@ -2227,7 +2227,7 @@ void blk_mq_flush_plug_list(struct blk_plug *plug, bool from_schedule) plug->rq_count = 0; if (!plug->multiple_queues && !plug->has_elevator && !from_schedule) { - blk_mq_plug_issue_direct(plug, from_schedule); + blk_mq_plug_issue_direct(plug, false); if (rq_list_empty(plug->mq_list)) return; }