+67
−113
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The RAID6 version of this code is usable for RAID5 providing:
- we test "conf->max_degraded" rather than "2" as appropriate
- we make sure s->failed_num[1] is meaningful (and not '-1')
when s->failed > 1
The 'return 1' must become 'goto finish' in the new location.
Signed-off-by:
NeilBrown <neilb@suse.de>
Reviewed-by:
Namhyung Kim <namhyung@gmail.com>