mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-02-02 00:00:03 +03:00
cmd_migrate fix
missing check_mark_super call - would trigger an assertion if link_data() was called before we wrote any data
This commit is contained in:
parent
2ea91f85d8
commit
54e00cf016
@ -335,6 +335,8 @@ static void link_data(struct bch_fs *c, struct bch_inode_unpacked *dst,
|
||||
die("error reserving space in new filesystem: %s",
|
||||
strerror(-ret));
|
||||
|
||||
bch2_check_mark_super(c, &e->k_i, false);
|
||||
|
||||
ret = bch2_btree_insert(c, BTREE_ID_EXTENTS, &e->k_i,
|
||||
&res, NULL, NULL, 0);
|
||||
if (ret)
|
||||
|
Loading…
Reference in New Issue
Block a user