diff options
author | NeilBrown <neilb@suse.de> | 2009-11-17 12:31:12 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-11-17 12:31:12 +1100 |
commit | df0d4ea04e34fc5d499056b00fa1e0a25f21453e (patch) | |
tree | d8a0678434b8b9cfc2e1521956237ec2427ea473 /mdassemble.c | |
parent | 672ca1b7272c69ea3055aeb746a77b8408e5f3ed (diff) |
Replace all relevant occurrences of -4 with LEVEL_MULTIPATH
Also -1 -> LEVEL_LINEAR.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdassemble.c')
-rw-r--r-- | mdassemble.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mdassemble.c b/mdassemble.c index cf837957..d0d0707e 100644 --- a/mdassemble.c +++ b/mdassemble.c @@ -28,7 +28,7 @@ /* from readme.c */ mapping_t pers[] = { - { "linear", -1}, + { "linear", LEVEL_LINEAR}, { "raid0", 0}, { "0", 0}, { "stripe", 0}, @@ -39,8 +39,8 @@ mapping_t pers[] = { { "4", 4}, { "raid5", 5}, { "5", 5}, - { "multipath", -4}, - { "mp", -4}, + { "multipath", LEVEL_MULTIPATH}, + { "mp", LEVEL_MULTIPATH}, { "raid6", 6}, { "6", 6}, { "raid10", 10}, |