mirror of
https://github.com/koverstreet/bcachefs-tools.git
synced 2025-12-08 00:00:12 +03:00
cmd_image: BCH_WRITE_only_specified_devs now required
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
parent
7ffbed2343
commit
651e30bd2c
@ -111,6 +111,7 @@ static int move_btree_pred(struct btree_trans *trans, void *_arg,
|
||||
if (!args->move_alloc && btree_id_is_alloc(btree))
|
||||
return false;
|
||||
|
||||
data_opts->write_flags |= BCH_WRITE_only_specified_devs;
|
||||
return true;
|
||||
return k.k->type == KEY_TYPE_btree_ptr_v2 && !btree_id_is_alloc(btree);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user