summaryrefslogtreecommitdiff
path: root/cmd_migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_migrate.c')
-rw-r--r--cmd_migrate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd_migrate.c b/cmd_migrate.c
index d5b2c68..9e8ceef 100644
--- a/cmd_migrate.c
+++ b/cmd_migrate.c
@@ -257,7 +257,7 @@ static void write_data(struct bch_fs *c,
closure_init_stack(&cl);
- bio_init(&op.wbio.bio, bv, ARRAY_SIZE(bv));
+ bio_init(&op.wbio.bio, NULL, bv, ARRAY_SIZE(bv), 0);
bch2_bio_map(&op.wbio.bio, buf, len);
bch2_write_op_init(&op, c, bch2_opts_to_inode_opts(c->opts));