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

bcachefs: Fix bch2_verify_bucket_evacuated()



We were going into an infinite loop when printing out backpointers, due
to never incrementing bp_offset - whoops.

Also limit the number of backpointers we print to 10; this is debug code
and we only need to print a sample, not all of them.

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent d59ca7e8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment