summaryrefslogtreecommitdiffstats
path: root/mdadm.h
diff options
context:
space:
mode:
authorDoug Ledford <dledford@redhat.com>2010-04-16 18:16:40 -0400
committerDoug Ledford <dledford@redhat.com>2010-04-16 18:16:40 -0400
commit56d318f825099f61370fc696c2a3e8f57bcf198c (patch)
treef1dd12d03287c6e341f14a4f2983fd58c60aa103 /mdadm.h
parentbdf05eca34d74d8220031dc8e672ba4d9209a800 (diff)
downloadmdadm-hotunplug.tar.gz
mdadm-hotunplug.tar.xz
mdadm-hotunplug.zip
Add stub for validation of partition table file during config parsinghotunplug
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'mdadm.h')
-rw-r--r--mdadm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mdadm.h b/mdadm.h
index b1e74db..7b81131 100644
--- a/mdadm.h
+++ b/mdadm.h
@@ -299,6 +299,7 @@ struct domain_ent;
extern struct partition_handler {
char *match; /* string we match in mdadm.conf */
+ int (*validate)(struct domain_ent *domain);
int (*check_table)(int dfd, int verbose, int export,
struct domain_ent *domain);
int (*write_table)(int dfd, int verbose, int export,