diff options
author | NeilBrown <neilb@suse.de> | 2012-11-01 06:14:01 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2013-02-21 07:05:23 +0100 |
commit | 4dd2df0966ec2e43ea404df5de7adf9f0e1a8e40 (patch) | |
tree | eeda21aab0004ea6544cb00e2c36ce29f02943dc /config.c | |
parent | Grow: fix problem with reshaping RAID4 to RAID0. (diff) | |
download | mdadm-4dd2df0966ec2e43ea404df5de7adf9f0e1a8e40.tar.xz mdadm-4dd2df0966ec2e43ea404df5de7adf9f0e1a8e40.zip |
Discard devnum in favour of devnm
We widely use a "devnum" which is 0 or +ve for md%d devices
and -ve for md_d%d devices.
But I want to be able to use md_%s device names.
So get rid of devnum (a number) and use devnm (a 32char string).
eg.
md0
md_d2
md_home
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -995,7 +995,7 @@ int devname_matches(char *name, char *match) int conf_name_is_free(char *name) { - /* Check if this name is already take by an ARRAY entry in + /* Check if this name is already taken by an ARRAY entry in * the config file. * It can be taken either by a match on devname, name, or * even super-minor. |