]> git.proxmox.com Git - mirror_ubuntu-hirsute-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)
commit3687c061886dd0bfec07e131ad12f916ef0abc62
treec8f65f4895db3f9c1554f766a430829d40fe7c19
parent86c374ba9f6726a79a032ede741dc66d219b166e
md/raid5: Move code for finishing a reconstruction into handle_stripe.

Prior to commit ab69ae12ceef7 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