NeilBrown <neilb@xxxxxxx> writes: > Apart from 'prexor' which can only be set for RAID5, and > 'qd_idx' which can only be meaningful for RAID6, these two > chunks of code are nearly the same. > > So combine them into one adding a test to call either > handle_parity_checks5 or handle_parity_checks6 as appropriate. > > Signed-off-by: NeilBrown <neilb@xxxxxxx> Reviewed-by: Namhyung Kim <namhyung@xxxxxxxxx> -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html