mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-09 14:56:54 -04:00
bcachefs: Fix an uninitialized variable
Only userspace builds were complaining about it, oddly enough. Signed-off-by: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
committed by
Kent Overstreet
parent
9b6e2f1e70
commit
9714baaa52
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user