cmd_image: BCH_WRITE_only_specified_devs now required

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-11-18 11:13:30 -05:00
parent 7ffbed2343
commit 651e30bd2c

View File

@ -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);
}