]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdassemble.c
super1: fix calculation of space_before
[thirdparty/mdadm.git] / mdassemble.c
index 181082916bfcbc4e5f379be8ef0a34258a9294c9..78d363a328c7e7449cc3b23f91534ee1a88ea5ca 100644 (file)
@@ -26,6 +26,8 @@
 #include "mdadm.h"
 #include "md_p.h"
 
+char const Name[] = "mdassemble";
+
 #ifndef MDASSEMBLE_AUTO
 /* from mdopen.c */
 int open_mddev(char *dev, int report_errors/*unused*/)
@@ -48,15 +50,6 @@ int create_mddev(char *dev, char *name, int autof/*unused*/, int trustworthy,
        return open_mddev(dev, 0);
 }
 #endif
-int map_update(struct map_ent **mpp, int devnum, char *metadata,
-              int *uuid, char *path)
-{
-       return 0;
-}
-struct map_ent *map_by_name(struct map_ent **mpp, char *name)
-{
-       return NULL;
-}
 
 int rv;
 int mdfd = -1;