summaryrefslogtreecommitdiffstats
path: root/super1.c
diff options
context:
space:
mode:
authorNeil Brown <neilb@suse.de>2006-12-14 17:31:08 +1100
committerNeil Brown <neilb@suse.de>2006-12-14 17:31:08 +1100
commitd645b91a1baf44e4674900f1124841fe6c0a2410 (patch)
treea9b8cf2cfd89a3f8fc7dc35343d0703b5fac85e8 /super1.c
parentbee8ec56f4d96a3ac7e6f6f256be6331dfafb076 (diff)
downloadmdadm-d645b91a1baf44e4674900f1124841fe6c0a2410.tar.gz
mdadm-d645b91a1baf44e4674900f1124841fe6c0a2410.tar.xz
mdadm-d645b91a1baf44e4674900f1124841fe6c0a2410.zip
Fix a misleading comment.
Diffstat (limited to 'super1.c')
-rw-r--r--super1.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/super1.c b/super1.c
index 368d9bc..140f637 100644
--- 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 */