summaryrefslogtreecommitdiffstats
path: root/block/blk-mq.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2023-04-13 08:40:55 +0200
committerJens Axboe <axboe@kernel.dk>2023-04-13 06:52:30 -0600
commit2b5976134bfbc753dec6281da0890c5f194c00c9 (patch)
tree38c83c687aa41a7d202076fb5e40fe8db394e7aa /block/blk-mq.h
parent710fa3789ed94ceee9675f8e189aaf3e7525269a (diff)
downloadlinux-stable-2b5976134bfbc753dec6281da0890c5f194c00c9.tar.gz
linux-stable-2b5976134bfbc753dec6281da0890c5f194c00c9.tar.bz2
linux-stable-2b5976134bfbc753dec6281da0890c5f194c00c9.zip
blk-mq: pass a flags argument to blk_mq_request_bypass_insert
Replace the boolean at_head argument with the same flags that are already passed to blk_mq_insert_request. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Bart Van Assche <bvanassche@acm.org> Reviewed-by: Damien Le Moal <dlemoal@kernel.org> Link: https://lore.kernel.org/r/20230413064057.707578-19-hch@lst.de Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq.h')
-rw-r--r--block/blk-mq.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/blk-mq.h b/block/blk-mq.h
index 273eee00524b..bb16c0a54411 100644
--- a/block/blk-mq.h
+++ b/block/blk-mq.h
@@ -67,7 +67,7 @@ void blk_mq_free_map_and_rqs(struct blk_mq_tag_set *set,
/*
* Internal helpers for request insertion into sw queues
*/
-void blk_mq_request_bypass_insert(struct request *rq, bool at_head);
+void blk_mq_request_bypass_insert(struct request *rq, blk_insert_t flags);
/*
* CPU -> queue mappings