Skip to content

Commit 3118c43

Browse files
axboegregkh
authored andcommitted
block: use the right type for stub rq_integrity_vec()
commit 69b6517 upstream. For !CONFIG_BLK_DEV_INTEGRITY, rq_integrity_vec() wasn't updated properly. Fix it up. Fixes: cf546dd ("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>
1 parent 1694a24 commit 3118c43

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

include/linux/blk-integrity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static inline int blk_integrity_rq(struct request *rq)
166166
return 0;
167167
}
168168

169-
static inline struct bio_vec *rq_integrity_vec(struct request *rq)
169+
static inline struct bio_vec rq_integrity_vec(struct request *rq)
170170
{
171171
/* the optimizer will remove all calls to this function */
172172
return (struct bio_vec){ };

0 commit comments

Comments
 (0)