Fix a misleading comment.

This commit is contained in:
Neil Brown 2006-12-14 17:31:08 +11:00
parent bee8ec56f4
commit d645b91a1b
1 changed files with 3 additions and 1 deletions

View File

@ -524,7 +524,9 @@ static int update_super1(struct mdinfo *info, void *sbv, char *update,
}
if (strcmp(update, "grow") == 0) {
sb->raid_disks = __cpu_to_le32(info->array.raid_disks);
/* FIXME */
/* As we are just adding a spare, there is no need to
* make any change to the dev_roles array
*/
}
if (strcmp(update, "resync") == 0) {
/* make sure resync happens */