]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - md_u.h
Fix RAID metadata check
[thirdparty/mdadm.git] / md_u.h
diff --git a/md_u.h b/md_u.h
index 76068d647ffe7ca1a6ba6873bd344e6159d060bd..f570a346923ce6c1fef2c88254f5bce592737aae 100644 (file)
--- a/md_u.h
+++ b/md_u.h
@@ -59,7 +59,7 @@ typedef struct mdu_array_info_s {
        int major_version;
        int minor_version;
        int patch_version;
-       int ctime;
+       unsigned int ctime;
        int level;
        int size;
        int nr_disks;
@@ -70,7 +70,7 @@ typedef struct mdu_array_info_s {
        /*
         * Generic state information
         */
-       int utime;              /*  0 Superblock update time                  */
+       unsigned int utime;     /*  0 Superblock update time                  */
        int state;              /*  1 State bits (clean, ...)                 */
        int active_disks;       /*  2 Number of currently active disks        */
        int working_disks;      /*  3 Number of working disks                 */