summaryrefslogtreecommitdiffstats
path: root/block/blk-exec.c
diff options
context:
space:
mode:
authorMike Snitzer <snitzer@redhat.com>2018-01-17 11:25:58 -0500
committerJens Axboe <axboe@kernel.dk>2018-01-17 09:49:21 -0700
commit9e97d2951a7e6ee6e204f87f6bda4ff754a8cede (patch)
treec62ee3b01f4a0a8379b97d8414bae68ffacb82f0 /block/blk-exec.c
parent396eaf21ee17c476e8f66249fb1f4a39003d0ab4 (diff)
downloadlinux-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.tar.gz
linux-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.tar.bz2
linux-9e97d2951a7e6ee6e204f87f6bda4ff754a8cede.zip
blk-mq-sched: remove unused 'can_block' arg from blk_mq_sched_insert_request
After commit: 923218f6166a ("blk-mq: don't allocate driver tag upfront for flush rq") we no longer use the 'can_block' argument in blk_mq_sched_insert_request(). Kill it. Signed-off-by: Mike Snitzer <snitzer@redhat.com> Added actual commit message as to why it's being removed. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-exec.c')
-rw-r--r--block/blk-exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-exec.c b/block/blk-exec.c
index 5c0f3dc446dc..f7b292f12449 100644
--- a/block/blk-exec.c
+++ b/block/blk-exec.c
@@ -61,7 +61,7 @@ void blk_execute_rq_nowait(struct request_queue *q, struct gendisk *bd_disk,
* be reused after dying flag is set
*/
if (q->mq_ops) {
- blk_mq_sched_insert_request(rq, at_head, true, false, false);
+ blk_mq_sched_insert_request(rq, at_head, true, false);
return;
}