summaryrefslogtreecommitdiffstats
path: root/drivers/tc
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2011-07-27 03:00:36 +0200
committerNeilBrown <neilb@suse.de>2011-07-27 03:00:36 +0200
commit84789554e96c0263ad8aa9be91397ece1f88c768 (patch)
tree678ee7d5ba7a1473d4fd532a80e878b228c2066b /drivers/tc
parentmd/raid5: unite handle_stripe_dirtying5 and handle_stripe_dirtying6 (diff)
downloadlinux-84789554e96c0263ad8aa9be91397ece1f88c768.tar.xz
linux-84789554e96c0263ad8aa9be91397ece1f88c768.zip
md/raid5: move more common code into handle_stripe
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@suse.de> Reviewed-by: Namhyung Kim <namhyung@gmail.com>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions