From f82cd58008706da43dd652dd9191511f2786d15d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 1 Dec 2022 11:20:40 -0500 Subject: Update bcachefs sources to f1c9030ccb bcachefs: Don't error out when just reading the journal --- libbcachefs/journal_io.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libbcachefs/journal_io.c') diff --git a/libbcachefs/journal_io.c b/libbcachefs/journal_io.c index 8c86bf06..179361be 100644 --- a/libbcachefs/journal_io.c +++ b/libbcachefs/journal_io.c @@ -1188,8 +1188,7 @@ int bch2_journal_read(struct bch_fs *c, u64 *blacklist_seq, u64 *start_seq) if (!last_seq) { fsck_err(c, "journal read done, but no entries found after dropping non-flushes"); - ret = -1; - goto err; + return 0; } bch_info(c, "journal read done, replaying entries %llu-%llu", -- cgit v1.2.3