summaryrefslogtreecommitdiff
path: root/linux/bio.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-06-24 12:50:52 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-06-27 19:38:18 -0400
commitcfa816bf3f823a3bedfedd8e214ea929c5c755fe (patch)
tree561ac156481ffbd82cb9698b6994f6d028fc0b9a /linux/bio.c
parent84cb7bffe5e80ef9036213bbfbaf358d478536be (diff)
Update bcachefs sources to 84f132d569 bcachefs: fsck: Break walk_inode() up into multiple functions
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'linux/bio.c')
-rw-r--r--linux/bio.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/bio.c b/linux/bio.c
index 29d096d4..93a791c4 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)