commit | fe60b0142813002be16dfae28780d9779ee22473 | [log] [tgz] |
---|---|---|
author | NeilBrown <neilb@suse.de> | Mon Mar 29 11:10:42 2010 +1100 |
committer | NeilBrown <neilb@suse.de> | Tue May 18 15:27:53 2010 +1000 |
tree | 1b2337036bbb30857531cd2d54729d38fdd75a3a | |
parent | b821eaa572fd737faaf6928ba046e571526c36c6 [diff] |
md: factor do_md_run to separate accesses to ->gendisk As part of relaxing the binding between an mddev and gendisk, we separate do_md_run into two functions. md_run does all the work internal to md do_md_run calls md_run and makes and changes to gendisk that are required. Signed-off-by: NeilBrown <neilb@suse.de>