author: Christoph Hellwig <hch@lst.de> 2021-04-12 15:46:57 +0200
committer: Jens Axboe <axboe@kernel.dk> 2021-04-12 09:19:43 -0600
commit: 6f822e1b5d9dda3d20e87365de138046e3baa03a
parent: 907d52310024fae6632aabfc7e833decaf185e5f
Commit Summary:
Diffstat:
1 file changed, 3 insertions, 3 deletions
diff --git a/block/bio.c b/block/bio.c
index 26b7f721cda8..0fecb80872c2 100644
--- a/block/bio.c
+++ b/block/bio.c
@@ -493,20 +493,20 @@ struct bio *bio_kmalloc(gfp_t gfp_mask, unsigned short nr_iovecs)
}
EXPORT_SYMBOL(bio_kmalloc);
-void zero_fill_bio_iter(struct bio *bio, struct bvec_iter start)
+void zero_fill_bio(struct bio *bio)
{
unsigned long flags;
struct bio_vec bv;
struct bvec_iter iter;
- __bio_for_each_segment(bv, bio, iter, start) {
+ bio_for_each_segment(bv, bio, iter) {
char *data = bvec_kmap_irq(&bv, &flags);
memset(data, 0, bv.bv_len);
flush_dcache_page(bv.bv_page);
bvec_kunmap_irq(data, &flags);
}
}
-EXPORT_SYMBOL(zero_fill_bio_iter);
+EXPORT_SYMBOL(zero_fill_bio);
/**
* bio_truncate - truncate the bio to small size of @new_size