Skip to content
Commit abf23afa authored by Kent Overstreet's avatar Kent Overstreet
Browse files

bcachefs: Fix btree node scan when unknown btree IDs are present



btree_root entries for unknown btree IDs are created during recovery,
before reading those btree roots.

But btree_node_scan may find btree nodes with unknown btree IDs when we
haven't seen roots for those btrees.

Reported-by: default avatar <syzbot+1f202d4da221ec6ebf8e@syzkaller.appspotmail.com>
Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 427db7ff
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment