diff options
author | Song Liu <songliubraving@fb.com> | 2015-12-21 11:23:42 -0800 |
---|---|---|
committer | NeilBrown <neilb@suse.com> | 2015-12-22 07:50:05 +1100 |
commit | 38c2e05b6a2851dd288009e85f2987bd05ce5835 (patch) | |
tree | 1d8b071df075cb841830761232c79e7e137149d8 /Manage.c | |
parent | 6fe4c6160399c94a15eda6092371e0ac9a38a4bc (diff) | |
download | mdadm-38c2e05b6a2851dd288009e85f2987bd05ce5835.tar.gz |
in --add assign raid_disk of 0 to journal
Signed-off-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Shaohua Li <shli@fb.com>
Signed-off-by: NeilBrown <neilb@suse.com>
Diffstat (limited to 'Manage.c')
-rw-r--r-- | Manage.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |