]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdassemble.c
mdassemble - fix new compile-time problems.
[thirdparty/mdadm.git] / mdassemble.c
index 181082916bfcbc4e5f379be8ef0a34258a9294c9..674be11f45e0ca3c527aaf4b9579dd2f84d6bf46 100644 (file)
@@ -48,7 +48,7 @@ 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 map_update(struct map_ent **mpp, char *devnm, char *metadata,
               int *uuid, char *path)
 {
        return 0;
@@ -57,6 +57,9 @@ struct map_ent *map_by_name(struct map_ent **mpp, char *name)
 {
        return NULL;
 }
+int map_lock(struct map_ent **melp){return 0;}
+void map_unlock(struct map_ent **melp){}
+struct map_ent *map_by_uuid(struct map_ent **map, int uuid[4]){return NULL;}
 
 int rv;
 int mdfd = -1;