diff options
author | Jonathan Brassow <jbrassow@redhat.com> | 2012-10-11 04:40:09 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-10-11 04:40:09 +0200 |
commit | eb6491236f283eb6ebc5421fcdb14b86701a7e36 (patch) | |
tree | eb79232eac585fcf2a2ad15eff108ef873f72d67 /drivers/uwb/reset.c | |
parent | MD RAID10: Prep for DM RAID10 device replacement capability (diff) | |
download | linux-eb6491236f283eb6ebc5421fcdb14b86701a7e36.tar.xz linux-eb6491236f283eb6ebc5421fcdb14b86701a7e36.zip |
DM RAID: Move 'rebuild' checking code to its own function
DM RAID: Move chunk of code to it's own function
The code that checks whether device replacements/rebuilds are possible given
a specific RAID type is moved to it's own function. It will further expand
when the code to check RAID10 is added. A separate function makes it easier
to read.
Signed-off-by: Jonathan Brassow <jbrassow@redhat.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'drivers/uwb/reset.c')
0 files changed, 0 insertions, 0 deletions