bcachefs: fix spurious error in read_btree_roots()

Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
This commit is contained in:
Kent Overstreet 2025-06-17 20:24:12 -04:00
parent 1df310860a
commit 88bd771191

View File

@ -607,6 +607,7 @@ static int read_btree_roots(struct bch_fs *c)
buf.buf, bch2_err_str(ret))) {
if (btree_id_is_alloc(i))
r->error = 0;
ret = 0;
}
}