Fix bug with adding to 0.90 array
commit 7ccc4cc4fc
Manage: remove call to validate_geometry.
used entirely the wrong number for "4TB" !!
Signed-off-by: NeilBrown <neilb@suse.de>
This commit is contained in:
parent
5daa35ac1a
commit
632dc30ccf
2
Manage.c
2
Manage.c
|
@ -718,7 +718,7 @@ int Manage_add(int fd, int tfd, struct mddev_dev *dv,
|
|||
return -1;
|
||||
}
|
||||
|
||||
if (tst->ss == &super0 && ldsize > 4ULL*1024*1024*2) {
|
||||
if (tst->ss == &super0 && ldsize > 4ULL*1024*1024*1024*1024) {
|
||||
/* More than 4TB is wasted on v0.90 */
|
||||
if (!force) {
|
||||
pr_err("%s is larger than %s can "
|
||||
|
|
Loading…
Reference in New Issue