From: Kent Overstreet Date: Wed, 18 Jun 2025 00:24:12 +0000 (-0400) Subject: bcachefs: fix spurious error in read_btree_roots() X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=88bd771191f7f20d6295700d1746f576419e3d1f;p=linux-block.git bcachefs: fix spurious error in read_btree_roots() Signed-off-by: Kent Overstreet --- diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index fa5d1ef5bea6..e0d824471bff 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -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; } }