summaryrefslogtreecommitdiff
path: root/linux
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@gmail.com>2019-09-25 15:23:29 -0400
committerKent Overstreet <kent.overstreet@gmail.com>2019-09-25 15:23:50 -0400
commitdb39aa3e1b528db3b9d731c3b054f27411e1e1a9 (patch)
tree1fad2b9a5f66cd9d7b7096c53604de691c47f26c /linux
parentceee9244dedcca3df57b76fafb772207cdfbd6ee (diff)
Update bcachefs sources to 5a3a4087af bcachefs: Convert a BUG_ON() to a warning
Diffstat (limited to 'linux')
-rw-r--r--linux/bio.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/linux/bio.c b/linux/bio.c
index d9b860a0..797204f8 100644
--- a/linux/bio.c
+++ b/linux/bio.c
@@ -167,9 +167,8 @@ void bio_free_pages(struct bio *bio)
{
struct bvec_iter_all iter;
struct bio_vec *bvec;
- int i;
- bio_for_each_segment_all(bvec, bio, i, iter)
+ bio_for_each_segment_all(bvec, bio, iter)
__free_page(bvec->bv_page);
}