]> git.karo-electronics.de Git - linux-beck.git/commit
md/raid5: finalise new merged 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)
commitacfe726bdd0000a9be1b308b29fad1e9ae62178c
tree468713f2be848747723b89fe5afbf39cdfc375ef
parent474af965fe0005b334cabdb2904a7d712c21489b
md/raid5: finalise new merged handle_stripe.

handle_stripe5() and handle_stripe6() are now virtually identical.
So discard one and rename the other to 'analyse_stripe()'.

It always returns 0, so change it to 'void' and remove the 'done'
variable in handle_stripe().

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