Skip to content

Commit 69b6517

Browse files
committed
block: use the right type for stub rq_integrity_vec()
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 <[email protected]>
1 parent e94b45d commit 69b6517

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/linux/blk-integrity.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ static inline int blk_integrity_rq(struct request *rq)
145145
return 0;
146146
}
147147

148-
static inline struct bio_vec *rq_integrity_vec(struct request *rq)
148+
static inline struct bio_vec rq_integrity_vec(struct request *rq)
149149
{
150150
/* the optimizer will remove all calls to this function */
151151
return (struct bio_vec){ };

0 commit comments

Comments
 (0)