diff options
author | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-31 15:52:24 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@linux.dev> | 2023-03-31 18:02:57 -0400 |
commit | 7f102ee83d83fd918783ca542fac1574f9b2c623 (patch) | |
tree | da560f908d970d3dbad5749c1407ed30b6965c4c /linux/bio.c | |
parent | d22c79d2fff10dd782caf5668fd019387914a5bb (diff) |
Update bcachefs sources to 8fd009dd76 bcachefs: Rip out code for storing backpointers in alloc keysv0.28
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'linux/bio.c')
-rw-r--r-- | linux/bio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/bio.c b/linux/bio.c index 93a791c4..29d096d4 100644 --- a/linux/bio.c +++ b/linux/bio.c @@ -168,10 +168,10 @@ struct bio *bio_split(struct bio *bio, int sectors, void bio_free_pages(struct bio *bio) { struct bvec_iter_all iter; - struct bio_vec *bvec; + struct bio_vec bvec; bio_for_each_segment_all(bvec, bio, iter) - __free_page(bvec->bv_page); + __free_page(bvec.bv_page); } void bio_advance(struct bio *bio, unsigned bytes) |