]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - monitor.c
imsm: add support for checkpointing via 'curr_migr_unit'
[thirdparty/mdadm.git] / monitor.c
index 58752a85c8428aa37c4babf7045e2d32376ecd95..81fef4964e0ef7279b7b7d8976ec4e72abd51ccd 100644 (file)
--- a/monitor.c
+++ b/monitor.c
@@ -75,7 +75,7 @@ static unsigned long long read_resync_start(int fd)
        if (n <= 0)
                return 0;
        if (strncmp(buf, "none", 4) == 0)
-               return ~0ULL;
+               return MaxSector;
        else
                return strtoull(buf, NULL, 10);
 }