diff --git a/super1.c b/super1.c index 1f6cbe2..13859a7 100644 --- a/super1.c +++ b/super1.c @@ -411,7 +411,7 @@ static int init_super1(void **sbp, mdu_array_info_t *info) sb->utime = sb->ctime; sb->events = __cpu_to_le64(1); - if (info->state & MD_SB_CLEAN) + if (info->state & (1<resync_offset = ~0ULL; else sb->resync_offset = 0;