block: use the right type for stub rq_integrity_vec()

commit 69b6517687a4b1fb250bd8c9c193a0a304c8ba17 upstream.

For !CONFIG_BLK_DEV_INTEGRITY, rq_integrity_vec() wasn't updated
properly. Fix it up.

Fixes: cf546dd289e0 ("block: change rq_integrity_vec to respect the iterator")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Cc: Matthieu Baerts <matttbe@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Jens Axboe 2024-06-26 19:01:58 -06:00 committed by Greg Kroah-Hartman
parent d4c67071f4
commit 163f7dd802
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ static inline int blk_integrity_rq(struct request *rq)
return 0;
}
static inline struct bio_vec *rq_integrity_vec(struct request *rq)
static inline struct bio_vec rq_integrity_vec(struct request *rq)
{
/* the optimizer will remove all calls to this function */
return (struct bio_vec){ };