]> 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)
commit0c87a9571de675e226ee84b205fabfc24d01ee9b
treec8f65f4895db3f9c1554f766a430829d40fe7c19
parent17d97bfdf7c01dc4738efc2e8b2ede17720bda84
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