summaryrefslogtreecommitdiffstats
path: root/Manage.c
diff options
context:
space:
mode:
Diffstat (limited to 'Manage.c')
-rw-r--r--Manage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Manage.c b/Manage.c
index 4540facd..7e1b94be 100644
--- a/Manage.c
+++ b/Manage.c
@@ -948,7 +948,7 @@ int Manage_add(int fd, int tfd, struct mddev_dev *dv,
pr_err("%s does not support journal device.\n", devname);
return -1;
}
- disc.raid_disk = array->raid_disks;
+ disc.raid_disk = 0;
}
if (array->not_persistent==0) {