Message ID | 1309292250.10259.3.camel@f14.redhat.com (mailing list archive) |
---|---|
State | Accepted, archived |
Delegated to: | Alasdair Kergon |
Headers | show |
Index: linux-2.6/drivers/md/dm-raid.c =================================================================== --- linux-2.6.orig/drivers/md/dm-raid.c +++ linux-2.6/drivers/md/dm-raid.c @@ -709,7 +709,7 @@ static int super_init_validation(mddev_t return -EINVAL; } - if (rs->print_flags & (DMPF_SYNC | DMPF_NOSYNC)) + if (!(rs->print_flags & (DMPF_SYNC | DMPF_NOSYNC))) mddev->recovery_cp = le64_to_cpu(sb->array_resync_offset); /*