]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
Fix a misleading comment.
authorNeil Brown <neilb@suse.de>
Thu, 14 Dec 2006 06:31:08 +0000 (17:31 +1100)
committerNeil Brown <neilb@suse.de>
Thu, 14 Dec 2006 06:31:08 +0000 (17:31 +1100)
super1.c

index 368d9bcf3e6fcf055f64cae56098a64e935cdcaf..140f637197d65f4b8ab9ccefe836561c63c28ef2 100644 (file)
--- a/super1.c
+++ b/super1.c
@@ -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 */