diff options
author | Kent Overstreet <kent.overstreet@gmail.com> | 2022-05-30 22:36:00 -0400 |
---|---|---|
committer | Kent Overstreet <kent.overstreet@gmail.com> | 2022-05-30 23:24:10 -0400 |
commit | 46b2c553aa462cf2c25b1fe017c164c2da471a98 (patch) | |
tree | e8e375ff2dd066764c76cf70af15f5834631fa6b /libbcachefs/move.c | |
parent | 962390c0b2e90c1c85abfe69b8b76fd7ef3925ee (diff) |
Update bcachefs sources to fad6d13aa5 fixup! bcachefs: Add persistent counters
Diffstat (limited to 'libbcachefs/move.c')
-rw-r--r-- | libbcachefs/move.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbcachefs/move.c b/libbcachefs/move.c index f1fb2ab5..a8f6d5a3 100644 --- a/libbcachefs/move.c +++ b/libbcachefs/move.c @@ -548,7 +548,7 @@ static int bch2_move_extent(struct btree_trans *trans, io->read_sectors = k.k->size; io->write_sectors = k.k->size; - bio_init(&io->write.op.wbio.bio, io->bi_inline_vecs, pages); + bio_init(&io->write.op.wbio.bio, NULL, io->bi_inline_vecs, pages, 0); bio_set_prio(&io->write.op.wbio.bio, IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0)); @@ -558,7 +558,7 @@ static int bch2_move_extent(struct btree_trans *trans, io->rbio.c = c; io->rbio.opts = io_opts; - bio_init(&io->rbio.bio, io->bi_inline_vecs, pages); + bio_init(&io->rbio.bio, NULL, io->bi_inline_vecs, pages, 0); io->rbio.bio.bi_vcnt = pages; bio_set_prio(&io->rbio.bio, IOPRIO_PRIO_VALUE(IOPRIO_CLASS_IDLE, 0)); io->rbio.bio.bi_iter.bi_size = sectors << 9; |