bcachefs: Fix btree node read error path
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 7 Jun 2022 02:09:11 +0000 (22:09 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:33 +0000 (17:09 -0400)
commit652018d66190412669a898c2dc3e75073eac8679
treee03a2cc141d3cc8ce25d3a9cc28a6dbe20fa6b62
parent576179021c90bea808ac12c491bd9b239ca80c2e
bcachefs: Fix btree node read error path

We were forgetting to clear the read_in_flight flag - oops. This also
fixes it to not call bch2_fatal_error() before topology repair has had a
chance to do its thing.

Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
fs/bcachefs/btree_io.c