]> git.ipfire.org Git - thirdparty/mdadm.git/commit - restripe.c
restripe: fix data block order in raid6_2_data_recov
authorNeilBrown <neilb@suse.de>
Mon, 20 Jul 2015 07:15:13 +0000 (17:15 +1000)
committerNeilBrown <neilb@suse.de>
Mon, 20 Jul 2015 07:15:13 +0000 (17:15 +1000)
commiteae01ef02fe3a7dd9b71129343f905ac212c6658
tree40503f4280c23a0a2366c9063022105f932b39b9
parent50786d4731bd1768f02348435c6f654f566c581b
restripe: fix data block order in raid6_2_data_recov

... rather than relying on the caller getting them in the
correct order.
This is better engineering and fixes a bug, but because the
failed_slotX numbers are used later with assumption that
they weren't swapped

Signed-off-by: NeilBrown <neilb@suse.de>
raid6check.c
restripe.c