Skip to content

Commit 88bd771

Browse files
author
Kent Overstreet
committed
bcachefs: fix spurious error in read_btree_roots()
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
1 parent 1df3108 commit 88bd771

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

fs/bcachefs/recovery.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,6 +607,7 @@ static int read_btree_roots(struct bch_fs *c)
607607
buf.buf, bch2_err_str(ret))) {
608608
if (btree_id_is_alloc(i))
609609
r->error = 0;
610+
ret = 0;
610611
}
611612
}
612613

0 commit comments

Comments
 (0)