summaryrefslogtreecommitdiffstats
path: root/fs/bcachefs/alloc_foreground.h
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2024-11-24 22:57:01 -0500
committerKent Overstreet <kent.overstreet@linux.dev>2024-12-21 01:36:19 -0500
commitabf23afa36eb425fb75d47c26fc665dbab2a9ae1 (patch)
tree48179e48c57cc07fc7c40741dd530d91ec585478 /fs/bcachefs/alloc_foreground.h
parentbcachefs: backpointer_to_missing_ptr is now autofix (diff)
downloadlinux-abf23afa36eb425fb75d47c26fc665dbab2a9ae1.tar.gz
linux-abf23afa36eb425fb75d47c26fc665dbab2a9ae1.zip
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: syzbot+1f202d4da221ec6ebf8e@syzkaller.appspotmail.com Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'fs/bcachefs/alloc_foreground.h')
0 files changed, 0 insertions, 0 deletions