bcachefs: Fix btree node read retries
authorKent Overstreet <kent.overstreet@gmail.com>
Tue, 14 Jun 2022 05:37:16 +0000 (01:37 -0400)
committerKent Overstreet <kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:09:33 +0000 (17:09 -0400)
commitc9bd67321e9b9bae0a9ba151a3906086878159b6
tree4d8227c65041f4c20d995c03ad6894bcae27ea72
parent440c15cc912d630320bfb684d799ab225be4178e
bcachefs: Fix btree node read retries

b->written wasn't being reset to 0 in the btree node read retry path,
causing decrypting & validation of previously read bsets to not be
re-run - ouch.

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