summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chunk-recover.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/chunk-recover.c b/chunk-recover.c
index bd37d6e8..dfa7ff63 100644
--- a/chunk-recover.c
+++ b/chunk-recover.c
@@ -1922,10 +1922,9 @@ next_csum:
list_splice_init(&unordered, &chunk->dextents);
btrfs_release_path(&path);
return 0;
- } else
- ret = 1;
+ }
- goto fail_out;
+ goto next_stripe;
}
if (list_is_last(candidates.next, &candidates)) {