bcachefs: Make btree root read errors recoverable
authorKent Overstreet <kent.overstreet@linux.dev>
Tue, 26 Sep 2023 21:21:21 +0000 (17:21 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:15 +0000 (17:10 -0400)
commit7dcf62c06d11195e8caecd7b2236aa5b07e3ef8c
tree463144cf0f0b272835ecab91a73463f65b259193
parent1ee608c65d652af30cf69eaca425d8a5c06712d7
bcachefs: Make btree root read errors recoverable

The entire btree will be lost, but that is better than the entire
filesystem not being recoverable.

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