From ce744c97bce1b34147be5e278d2b246743d89536 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Tue, 4 Nov 2008 20:51:11 +1100 Subject: Assemble: revert preliminary -As support I have seen the light. Signed-off-by: Dan Williams --- mdmon.c | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'mdmon.c') diff --git a/mdmon.c b/mdmon.c index cb4173a0..fa5a0df9 100644 --- a/mdmon.c +++ b/mdmon.c @@ -92,6 +92,15 @@ int clone_monitor(struct supertype *container) return mon_tid; } +static struct superswitch *find_metadata_methods(char *vers) +{ + if (strcmp(vers, "ddf") == 0) + return &super_ddf; + if (strcmp(vers, "imsm") == 0) + return &super_imsm; + return NULL; +} + int make_pidfile(char *devname, int o_excl) { -- cgit v1.2.3