diff options
author | 2021-11-01 13:40:12 -0600 | |
---|---|---|
committer | 2021-11-02 06:57:27 -0600 | |
commit | b22809092c70099f4d8c3b6f3d34c5bc89b300ea (patch) | |
tree | 8e52ce9773b64debc3b636daab5c101d017631b3 | |
parent | block: assign correct tag before doing prefetch of request (diff) | |
download | linux-b22809092c70099f4d8c3b6f3d34c5bc89b300ea.tar.gz linux-b22809092c70099f4d8c3b6f3d34c5bc89b300ea.tar.bz2 linux-b22809092c70099f4d8c3b6f3d34c5bc89b300ea.zip |
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 <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
-rw-r--r-- | block/blk-mq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.c b/block/blk-mq.c index 4787d5b74aa3..8aed6cea3a34 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; } |