Commit dc53718
Kent Overstreet
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: syzbot+4d722d3c539d77c7bc82@syzkaller.appspotmail.com
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>1 parent f8f1dde commit dc53718
1 file changed
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
733 | 733 | | |
734 | 734 | | |
735 | 735 | | |
736 | | - | |
| 736 | + | |
737 | 737 | | |
738 | | - | |
739 | | - | |
740 | | - | |
741 | 738 | | |
742 | 739 | | |
743 | 740 | | |
| |||
829 | 826 | | |
830 | 827 | | |
831 | 828 | | |
832 | | - | |
833 | 829 | | |
834 | 830 | | |
835 | 831 | | |
| |||
0 commit comments