From: Kent Overstreet Date: Wed, 18 Jun 2025 00:24:12 +0000 (-0400) Subject: bcachefs: fix spurious error in read_btree_roots() X-Git-Tag: v6.16-rc4~24^2~15 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=88bd771191f7f20d6295700d1746f576419e3d1f;p=thirdparty%2Flinux.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 fa5d1ef5bea69..e0d824471bff7 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; } }