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

bcachefs: Fix validate_bset() repair path



When we truncate a bset (due to it extending past the end of the btree
node), we can't skip the rest of the validation for e.g. the packed
format (if it's the first bset in the node).

Reported-by: default avatar <syzbot+4d722d3c539d77c7bc82@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent f8f1dde6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment