Commit bd864bc2 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix bch2_trigger_alloc when upgrading from old versions



bch2_trigger_alloc was assuming that the new key would always be newly
created and thus always an alloc_v4 key, but - not when called from
btree_gc.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent a24e6e71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment