From 36ba7d4849186b4c97bd6d5f905a390ff1de6f83 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Wed, 1 Oct 2008 18:50:44 -0700 Subject: 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 --- mdadm.h | 1 + 1 file changed, 1 insertion(+) (limited to 'mdadm.h') diff --git a/mdadm.h b/mdadm.h index 7a39187..1eba578 100644 --- a/mdadm.h +++ b/mdadm.h @@ -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, -- cgit