blk-mq: remove blk_flush_queue_rq
authorChristoph Hellwig <hch@lst.de>
Thu, 13 Apr 2023 06:40:46 +0000 (08:40 +0200)
committerJens Axboe <axboe@kernel.dk>
Thu, 13 Apr 2023 12:52:29 +0000 (06:52 -0600)
commita4fa57ffb7671c2df4ce597d03ef9f7d6d905a60
tree31472702d0d0ecc068e7e5b694096ff51c0b1ece
parent4ec5c0553c33e42f2d650785309de17d4cb8f5ba
blk-mq: remove blk_flush_queue_rq

Just call blk_mq_add_to_requeue_list directly from the two callers.

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-10-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-flush.c