Commit 4a147af2 authored by Kent Overstreet's avatar Kent Overstreet

bcachefs: Fix uninitialized var in bch2_journal_replay()

Signed-off-by: default avatarKent Overstreet <kent.overstreet@linux.dev>
parent 6d1980f0
......@@ -144,7 +144,7 @@ static int bch2_journal_replay(struct bch_fs *c)
u64 start_seq = c->journal_replay_seq_start;
u64 end_seq = c->journal_replay_seq_start;
size_t i;
int ret;
int ret = 0;
move_gap(keys->d, keys->nr, keys->size, keys->gap, keys->nr);
keys->gap = keys->nr;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment