Commit 9714baaa authored by Kent Overstreet's avatar Kent Overstreet Committed by Kent Overstreet

bcachefs: Fix an uninitialized variable

Only userspace builds were complaining about it, oddly enough.
Signed-off-by: default avatarKent Overstreet <kent.overstreet@gmail.com>
parent 9b6e2f1e
......@@ -898,7 +898,7 @@ static void bch2_journal_read_device(struct closure *cl)
struct journal_read_buf buf = { NULL, 0 };
u64 min_seq = U64_MAX;
unsigned i;
int ret;
int ret = 0;
if (!ja->nr)
goto out;
......
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