diff options
author | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 18:23:26 +0100 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2009-12-21 18:23:26 +0100 |
commit | b7528a20cca58c973771d94d7d2b8ef74bcf582d (patch) | |
tree | c49e951944dfe3aa7a8659453f7874ac041f98cc /monitor.c | |
parent | Add scaffolding for handling md/dev-XXX/recovery_start (diff) | |
download | mdadm-b7528a20cca58c973771d94d7d2b8ef74bcf582d.tar.xz mdadm-b7528a20cca58c973771d94d7d2b8ef74bcf582d.zip |
Introduce MaxSector
Replace occurrences of ~0ULL to make it clear we are talking about maximal
resync/recovery position.
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'monitor.c')
-rw-r--r-- | monitor.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |