From 34321279b8142284e86b0fc49dc9af9af92f9717 Mon Sep 17 00:00:00 2001 From: Neil Brown Date: Tue, 7 Jun 2005 23:03:46 +0000 Subject: [PATCH] Fix type - MD_SB_CLEAN is a bit number, not a bitmask. Signed-off-by: Neil Brown --- super1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/super1.c b/super1.c index 1f6cbe2e..13859a7f 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; -- 2.39.2