Status: ok Fix type - MD_SB_CLEAN is a bit number, not a bitmask. Signed-off-by: Neil Brown ### Diffstat output ./super1.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff ./super1.c~current~ ./super1.c --- ./super1.c~current~ 2005-05-06 15:16:12.000000000 +1000 +++ ./super1.c 2005-05-06 15:16:31.000000000 +1000 @@ -411,7 +411,7 @@ static int init_super1(void **sbp, mdu_a 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;