MD_RECOVERY_DONE
if (!test_bit(MD_RECOVERY_DONE, &recovery) &&
if (!test_bit(MD_RECOVERY_DONE, &mddev->recovery)) {
test_bit(MD_RECOVERY_DONE, &mddev->recovery))
clear_bit(MD_RECOVERY_DONE, &mddev->recovery);
clear_bit(MD_RECOVERY_DONE, &mddev->recovery);
if (test_bit(MD_RECOVERY_DONE, &mddev->recovery))
if (test_bit(MD_RECOVERY_DONE, &mddev->recovery))
set_bit(MD_RECOVERY_DONE, &mddev->recovery);
clear_bit(MD_RECOVERY_DONE, &mddev->recovery);
clear_bit(MD_RECOVERY_DONE, &mddev->recovery);