projects
/
platform
/
upstream
/
btrfs-progs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0ac61
)
scrub: fix uninit return variable in scrub_progress_cycle
author
Chris Mason
<clm@fb.com>
Wed, 28 May 2014 21:01:39 +0000
(17:01 -0400)
committer
Chris Mason
<clm@fb.com>
Wed, 28 May 2014 21:03:05 +0000
(17:03 -0400)
Signed-off-by: Chris Mason <clm@fb.com>
cmds-scrub.c
patch
|
blob
|
history
diff --git
a/cmds-scrub.c
b/cmds-scrub.c
index
4338a0b
..
3510f57
100644
(file)
--- a/
cmds-scrub.c
+++ b/
cmds-scrub.c
@@
-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;