summaryrefslogtreecommitdiff
path: root/cmd_migrate.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd_migrate.c')
-rw-r--r--cmd_migrate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd_migrate.c b/cmd_migrate.c
index 2d82d157..e9594ab7 100644
--- a/cmd_migrate.c
+++ b/cmd_migrate.c
@@ -614,7 +614,8 @@ static void copy_fs(struct bch_fs *c, int src_fd, const char *src_path,
darray_free(s.extents);
genradix_free(&s.hardlinks);
- bch2_alloc_write(c);
+ bool wrote;
+ bch2_alloc_write(c, false, &wrote);
}
static void find_superblock_space(ranges extents, struct dev_opts *dev)