]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - mdadm.h
mdadm: add the ability to change cluster name
[thirdparty/mdadm.git] / mdadm.h
diff --git a/mdadm.h b/mdadm.h
index 00c726e945ce9893b00fe63c2061545b93d8b885..d8b074990ca04cc0cd9418ee5c7a6dcdf9678770 100644 (file)
--- a/mdadm.h
+++ b/mdadm.h
@@ -354,6 +354,11 @@ enum prefix_standard {
        IEC
 };
 
+enum bitmap_update {
+    NoUpdate,
+    NameUpdate,
+};
+
 /* structures read from config file */
 /* List of mddevice names and identifiers
  * Identifiers can be:
@@ -850,7 +855,7 @@ extern struct superswitch {
        /* if add_internal_bitmap succeeded for existing array, this
         * writes it out.
         */
-       int (*write_bitmap)(struct supertype *st, int fd);
+       int (*write_bitmap)(struct supertype *st, int fd, enum bitmap_update update);
        /* Free the superblock and any other allocated data */
        void (*free_super)(struct supertype *st);