diff options
author | Dan Williams <dan.j.williams@intel.com> | 2008-10-01 18:50:44 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2008-10-15 14:43:57 -0700 |
commit | 36ba7d4849186b4c97bd6d5f905a390ff1de6f83 (patch) | |
tree | 4c06c8824d7e66b0153ab51c86dd10cd78c221cf /mdadm.h | |
parent | 27fd6274148a492a46fa11adcadc2d4079be6f67 (diff) | |
download | mdadm-36ba7d4849186b4c97bd6d5f905a390ff1de6f83.tar.gz mdadm-36ba7d4849186b4c97bd6d5f905a390ff1de6f83.tar.xz mdadm-36ba7d4849186b4c97bd6d5f905a390ff1de6f83.zip |
Allow a uuid of all f's to always match
The uuid returned for an imsm spare device will never match the uuid of an
active disk. So make mdadm interpret a uuid of all f's as "match any".
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r-- | mdadm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -767,6 +767,7 @@ extern char *conf_word(FILE *file, int allow_key); extern void free_line(char *line); extern int match_oneof(char *devices, char *devname); extern void uuid_from_super(int uuid[4], mdp_super_t *super); +extern const int uuid_match_any[4]; extern int same_uuid(int a[4], int b[4], int swapuuid); extern void copy_uuid(void *a, int b[4], int swapuuid); extern char *fname_from_uuid(struct supertype *st, |