mirror of
https://github.com/kdave/btrfs-progs
synced 2025-04-17 12:35:19 +00:00
scrub: fix uninit return variable in scrub_progress_cycle
Signed-off-by: Chris Mason <clm@fb.com>
This commit is contained in:
parent
7d0ac617c3
commit
7b050795a0
@ -865,7 +865,7 @@ static void *progress_one_dev(void *ctx)
|
||||
/* nb: returns a negative errno via ERR_PTR */
|
||||
static void *scrub_progress_cycle(void *ctx)
|
||||
{
|
||||
int ret;
|
||||
int ret = 0;
|
||||
int perr = 0; /* positive / pthread error returns */
|
||||
int old;
|
||||
int i;
|
||||
|
Loading…
Reference in New Issue
Block a user