md: start to refactor do_md_stop
authorNeilBrown <neilb@suse.de>
Mon, 29 Mar 2010 00:37:13 +0000 (11:37 +1100)
committerNeilBrown <neilb@suse.de>
Tue, 18 May 2010 05:27:53 +0000 (15:27 +1000)
commit6177b472ab14e1ac88896960370dd54ba577d926
tree387eec24b0ac82e028edfdd77d8b425077ca0bfb
parentfe60b0142813002be16dfae28780d9779ee22473
md: start to refactor do_md_stop

do_md_stop is large and clunky, so hard to understand.

This is a first step of refactoring, pulling two simple
sub-functions out.

Signed-off-by: NeilBrown <neilb@suse.de>
drivers/md/md.c