md/raid1: factor several functions out or raid1d()
authorNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:38:13 +0000 (11:38 +1000)
committerNeilBrown <neilb@suse.de>
Thu, 28 Jul 2011 01:38:13 +0000 (11:38 +1000)
commit62096bce231b3760882ed91205fc84682d6b0529
tree90b8a89be6f3c1983e88a4b0fe9d5a0e15ccda7e
parent3a9f28a5117e00a868dd8b4395f9a707ae56764b
md/raid1: factor several functions out or raid1d()

raid1d is too big with several deep branches.
So separate them out into their own functions.

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