diff options
author | NeilBrown <neilb@suse.de> | 2009-05-11 15:58:42 +1000 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2009-05-11 15:58:42 +1000 |
commit | 360b463696e89593645c0f094f0c39ba0fa65944 (patch) | |
tree | 9d1e369adfa0f5f9b89c1d4a86c0da88e4767d39 /mdadm.h | |
parent | 2400e6eb21af93368824110d087708dc9c48f744 (diff) | |
download | mdadm-360b463696e89593645c0f094f0c39ba0fa65944.tar.gz mdadm-360b463696e89593645c0f094f0c39ba0fa65944.tar.xz mdadm-360b463696e89593645c0f094f0c39ba0fa65944.zip |
mapfile - when rebuilding, choose an appropriate name is none is found.
When rebuilding the mapfile (mdadm -Ir), if not appropriate name is
found in /dev/md/, try to find an appropriate name, either by looking
in mdadm.conf or by using the name in the metadata.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -801,6 +801,7 @@ extern char *conf_line(FILE *file); extern char *conf_word(FILE *file, int allow_key); extern int conf_name_is_free(char *name); extern int devname_matches(char *name, char *match); +extern struct mddev_ident_s *conf_match(struct mdinfo *info, struct supertype *st); extern void free_line(char *line); extern int match_oneof(char *devices, char *devname); |