summaryrefslogtreecommitdiff
path: root/Create.c
diff options
context:
space:
mode:
authorDan Williams <dan.j.williams@intel.com>2009-12-21 10:23:26 -0700
committerDan Williams <dan.j.williams@intel.com>2009-12-21 10:23:26 -0700
commitb7528a20cca58c973771d94d7d2b8ef74bcf582d (patch)
treec49e951944dfe3aa7a8659453f7874ac041f98cc /Create.c
parente1516be1db121e6f462b41a739106e33461a733a (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Create.c b/Create.c
index 5b01b63d..1ae7f920 100644
--- 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;