From 4fc1f402c6c259b1f44e45c096ac6666925a9b87 Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Thu, 28 Sep 2023 00:54:12 -0400 Subject: [PATCH] bcachefs: Fix another smatch complaint This should be harmless, but initialize last_seq anyways. Signed-off-by: Kent Overstreet --- fs/bcachefs/recovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/bcachefs/recovery.c b/fs/bcachefs/recovery.c index 9dbaf080dcdd..cd037f2e4235 100644 --- a/fs/bcachefs/recovery.c +++ b/fs/bcachefs/recovery.c @@ -644,7 +644,7 @@ int bch2_fs_recovery(struct bch_fs *c) { struct bch_sb_field_clean *clean = NULL; struct jset *last_journal_entry = NULL; - u64 last_seq, blacklist_seq, journal_seq; + u64 last_seq = 0, blacklist_seq, journal_seq; bool write_sb = false; int ret = 0;