]> git.baikalelectronics.ru Git - kernel.git/commit
md/raid5: Move code for finishing a reconstruction into handle_stripe.
authorNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
committerNeilBrown <neilb@suse.de>
Wed, 27 Jul 2011 01:00:36 +0000 (11:00 +1000)
commit39f3ddcc0c4182e999f62126ba1e9fdbd2e0fa8a
treec8f65f4895db3f9c1554f766a430829d40fe7c19
parentb1e220d58f1727ac83704afd04a0e4299b203967
md/raid5: Move code for finishing a reconstruction into handle_stripe.

Prior to commit 5bd75a0625f6a the code in handle_stripe5 and
handle_stripe6 to "Finish reconstruct operations initiated by the
expansion process" was identical.
That commit added an identical stanza of code to each function, but in
different places.  That was careless.

The raid5 code was correct, so move that out into handle_stripe and
remove raid6 version.

Signed-off-by: NeilBrown <neilb@suse.de>
Reviewed-by: Namhyung Kim <namhyung@gmail.com>
drivers/md/raid5.c