]> git.itanic.dy.fi Git - linux-stable/commit
blk-mq: rename blk_mq_can_use_cached_rq
authorChristoph Hellwig <hch@lst.de>
Thu, 11 Jan 2024 13:57:04 +0000 (14:57 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 12 Jan 2024 16:11:34 +0000 (09:11 -0700)
commit309ce6741430b5a7b5e85cd1a7569647f8d9dfa6
treef6d16d9d30ccf0c32366e460dfb0377c05cda18e
parent25c1772a0493463408489b1fae65cf77fe46cac1
blk-mq: rename blk_mq_can_use_cached_rq

blk_mq_can_use_cached_rq doesn't just check if we can use the request,
but also performs the work to actually use it.  Remove the _can in the
naming, and improve the comment describing the function.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Link: https://lore.kernel.org/r/20240111135705.2155518-2-hch@lst.de
Signed-off-by: Jens Axboe <axboe@kernel.dk>
block/blk-mq.c