projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc08c66
)
bcachefs: Fix another smatch complaint
author
Kent Overstreet
<kent.overstreet@linux.dev>
Thu, 28 Sep 2023 04:54:12 +0000
(
00:54
-0400)
committer
Kent Overstreet
<kent.overstreet@linux.dev>
Sun, 22 Oct 2023 21:10:16 +0000
(17:10 -0400)
This should be harmless, but initialize last_seq anyways.
Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
fs/bcachefs/recovery.c
patch
|
blob
|
history
diff --git
a/fs/bcachefs/recovery.c
b/fs/bcachefs/recovery.c
index 9dbaf080dcdd4305fd55c1a4cc0d05d8ac0d327c..cd037f2e423558868e89067d934396adcd550711 100644
(file)
--- 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;