Commit 96de8f8
bcachefs: mark invalid_btree_id autofix
Checking for invalid IDs was introduced in 9e7cfb3 ("bcachefs: Check for invalid btree IDs")
to prevent an invalid shift later, but since 1415265 ("bcachefs: Bad btree roots are now autofix")
which made btree_root_bkey_invalid autofix, the fsck_err_on call didn't
do anything.
We can mark this err type (invalid_btree_id) autofix as well, so it gets
handled.
Reported-by: [email protected]
Closes: https://syzkaller.appspot.com/bug?extid=029d1989099aa5ae3e89
Fixes: 1415265 ("bcachefs: Bad btree roots are now autofix")
Signed-off-by: Bharadwaj Raju <[email protected]>
Signed-off-by: Kent Overstreet <[email protected]>1 parent ef6fac0 commit 96de8f8
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| |||
0 commit comments