mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 22:21:42 +00: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:
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;
|
||||
|
Loading…
Reference in New Issue
Block a user