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 /Create.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 'Create.c')
-rw-r--r-- | Create.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |