]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - Create.c
Introduce MaxSector
[thirdparty/mdadm.git] / Create.c
index 5b01b63d61cea1f7a9d67bf0c27a65c2d5737d9c..1ae7f92073307d0420dcee5c47297891c3f3b096 100644 (file)
--- a/Create.c
+++ b/Create.c
@@ -527,7 +527,7 @@ int Create(struct supertype *st, char *mddev,
             assume_clean
                ) {
                info.array.state = 1; /* clean, but one+ drive will be missing*/
-               info.resync_start = ~0ULL;
+               info.resync_start = MaxSector;
        } else {
                info.array.state = 0; /* not clean, but no errors */
                info.resync_start = 0;