diff options
| author | Jens Axboe <axboe@kernel.dk> | 2024-06-27 04:01:58 +0300 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-08-14 14:53:01 +0300 |
| commit | 1278dd5f377e70f21764171c4ff207ddfc532997 (patch) | |
| tree | 5918fe72ec0741563d55b4b02aa48e65483cf38b /include/linux | |
| parent | 6380448a22d791dcf0f5283f219dfed9db46fb94 (diff) | |
| download | linux-1278dd5f377e70f21764171c4ff207ddfc532997.tar.xz | |
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>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/blk-integrity.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/blk-integrity.h b/include/linux/blk-integrity.h index 69f73d054611..f7cc8080672c 100644 --- a/include/linux/blk-integrity.h +++ b/include/linux/blk-integrity.h @@ -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){ }; |
