MD_DISK_ROLE_MAX
(le16_to_cpu(sb->dev_roles[rdev->desc_nr]) < MD_DISK_ROLE_MAX ||
if (test_bit(Faulty, &rdev->flags) && (role < MD_DISK_ROLE_MAX))