summaryrefslogtreecommitdiff
path: root/libbcachefs/recovery.c
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2025-06-19 13:12:31 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2025-06-19 13:12:31 -0400
commit10ed83353be8c8fcfb89b2e700fb8f2be0f8673c (patch)
treef02dd2c5d07c5d1402391fd63706383be5d00cd8 /libbcachefs/recovery.c
parent35c7f2b4e369fec62633de667339496c3e4544c8 (diff)
Update bcachefs sources to 20342b5217ca bcachefs: Plumb trans_kmalloc ip to trans_log_msg
Diffstat (limited to 'libbcachefs/recovery.c')
-rw-r--r--libbcachefs/recovery.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libbcachefs/recovery.c b/libbcachefs/recovery.c
index fa5d1ef5..d0b7e3a3 100644
--- a/libbcachefs/recovery.c
+++ b/libbcachefs/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;
}
}
@@ -1141,7 +1142,7 @@ fsck_err:
struct printbuf buf = PRINTBUF;
bch2_log_msg_start(c, &buf);
- prt_printf(&buf, "error in recovery: %s", bch2_err_str(ret));
+ prt_printf(&buf, "error in recovery: %s\n", bch2_err_str(ret));
bch2_fs_emergency_read_only2(c, &buf);
bch2_print_str(c, KERN_ERR, buf.buf);