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

bcachefs: Fix bch2_bucket_gens_init()



Comparing the wrong bpos - this was missed because normally
bucket_gens_init() runs on brand new filesystems, but this bug caused it
to overwrite bucket_gens keys with 0s when upgrading ancient
filesystems.

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