md/raid6: Fix raid-6 read-error correction in degraded state
md/raid6: Fix raid-6 read-error correction in degraded state

Fix: Raid-6 was not trying to correct a read-error when in
singly-degraded state and was instead dropping one more device, going to
doubly-degraded state. This patch fixes this behaviour.

Tested-by: Janos Haar <44d179d4e2dafe7d8f8e453ae52e9584ef9fcd1c@netcenter.hu>
Signed-off-by: Gabriele A. Trombetti <deefa4d9e0f219499ec231eff232092449242909@logicschema.com>
Reported-by: Janos Haar <44d179d4e2dafe7d8f8e453ae52e9584ef9fcd1c@netcenter.hu>
Signed-off-by: NeilBrown <1c00aa603bb92d594c03cff60ecf8e63b2a5bcb1@suse.de>
Cc: 4fbacc2fa0ffdbb11bf1ad6925b886ebd08dd15f@kernel.org

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs,KristFoundation/Programs,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,KristFoundation/Programs