summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2008-09-18 16:06:41 +1000
committerNeilBrown <neilb@suse.de>2008-09-18 16:06:41 +1000
commit9362c1c80c4464fb66e3cc9eb8ba7631f21810d7 (patch)
tree795cd9ce0c0c7c6c787c11844e062c32c8a23c66 /mdadm.h
parentffcfc735a5114290cb6b3063c8a5fddddc384a36 (diff)
downloadmdadm-9362c1c80c4464fb66e3cc9eb8ba7631f21810d7.tar.gz
mdadm-9362c1c80c4464fb66e3cc9eb8ba7631f21810d7.tar.xz
mdadm-9362c1c80c4464fb66e3cc9eb8ba7631f21810d7.zip
Allow metadata handler to report that it doesn't record homehost.
For now, this means that the lack of a homehost doesn't always prevent assembly. Soon we will allow assembly anyway, but have different messages if homehost isn't supported.
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/mdadm.h b/mdadm.h
index 5bc41e8..7c73b6a 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -446,8 +446,7 @@ extern struct superswitch {
void (*getinfo_super)(struct supertype *st, struct mdinfo *info);
/* Check if the given metadata is flagged as belonging to "this"
- * host. For arrays that don't determine a minor-number, this
- * can always be true (??)
+ * host. 0 for 'no', 1 for 'yes', -1 for "Don't record homehost"
*/
int (*match_home)(struct supertype *st, char *homehost);