bcachefs: btree_root_unreadable_and_scan_found_nothing autofix for non data btrees
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 29 Apr 2025 00:12:01 +0000 (20:12 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Tue, 29 Apr 2025 02:42:17 +0000 (22:42 -0400)
commit652dd6558b8b5a1a04fef129e0231ee493e24951
treeb7ec8640299888252561550de78f9eb9bfe03fcd
parentc366b1672d74cb008974f6e36e34dc191621f3bb
bcachefs: btree_root_unreadable_and_scan_found_nothing autofix for non data btrees

If loosing a btree won't cause data loss - i.e. it's an alloc btree, or
we can easily reconstruct it - we shouldn't require user action to
continue repair.

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/btree_gc.c