|
@@ -66,7 +66,8 @@ struct bvec_iter {
|
|
.bv_offset = bvec_iter_offset((bvec), (iter)), \
|
|
.bv_offset = bvec_iter_offset((bvec), (iter)), \
|
|
})
|
|
})
|
|
|
|
|
|
-static inline void bvec_iter_advance(struct bio_vec *bv, struct bvec_iter *iter,
|
|
|
|
|
|
+static inline void bvec_iter_advance(const struct bio_vec *bv,
|
|
|
|
+ struct bvec_iter *iter,
|
|
unsigned bytes)
|
|
unsigned bytes)
|
|
{
|
|
{
|
|
WARN_ONCE(bytes > iter->bi_size,
|
|
WARN_ONCE(bytes > iter->bi_size,
|