blk-mq: pass a flags argument to blk_mq_add_to_requeue_list
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:57 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:30 +0000 (06:52 -0600)
commitb12e5c6c755ae8bec44723f77f037873e3d08021
tree51f7ddc14279534b34488138a01eb23cafdcd280
parent93fffe16f7ee18600f15838e2e8b5cf353f245c8
blk-mq: pass a flags argument to blk_mq_add_to_requeue_list

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: Damien Le Moal <dlemoal@kernel.org>
Link: https://lore.kernel.org/r/20230413064057.707578-21-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c
block/blk-mq.c
block/blk-mq.h