]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
Assemble: --update=metadata converts v0.90 to v1.0
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 4455b05ad77a501f7c86978ed6ee4579942007bc..d97055ae4f666c54c64351e4e3e86a9cdd22ad22 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -937,6 +937,8 @@ struct supertype {
        char container_devnm[32];    /* devnm of container */
        void *sb;
        void *info;
+       void *other; /* Hack used to convert v0.90 to v1.0 */
+       unsigned long long devsize;
        int ignore_hw_compat; /* used to inform metadata handlers that it should ignore
                                 HW/firmware related incompatability to load metadata.
                                 Used when examining metadata to display content of disk
@@ -1320,6 +1322,8 @@ extern int child_monitor(int afd, struct mdinfo *sra, struct reshape *reshape,
                         int dests, int *destfd, unsigned long long *destoffsets);
 void abort_reshape(struct mdinfo *sra);
 
+void *super1_make_v0(struct supertype *st, struct mdinfo *info, mdp_super_t *sb0);
+
 extern void fmt_devname(char *name, int num);
 extern char *stat2devnm(struct stat *st);
 extern char *fd2devnm(int fd);