diff options
author | NeilBrown <neilb@suse.de> | 2012-07-09 09:22:09 +0200 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2012-07-09 09:22:09 +0200 |
commit | 32754b7d8474b34fc5ab0e629e43f30e3a50d408 (patch) | |
tree | e2d51ef8ac3527d058f66e3aa19b3245332ae1ea /mdadm.c | |
parent | Use new 'struct shape' to pass args to Create (diff) | |
download | mdadm-32754b7d8474b34fc5ab0e629e43f30e3a50d408.tar.xz mdadm-32754b7d8474b34fc5ab0e629e43f30e3a50d408.zip |
Use new struct context and struct shape in Grow_reshape
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'mdadm.c')
-rw-r--r-- | mdadm.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -1450,10 +1450,8 @@ int main(int argc, char *argv[]) c.verbose); else if (s.size > 0 || s.raiddisks || s.layout_str != NULL || s.chunk != 0 || s.level != UnSet) { - rv = Grow_reshape(devlist->devname, mdfd, c.verbose, c.backup_file, - s.size, s.level, s.layout_str, s.chunk, s.raiddisks, - devlist->next, - s.assume_clean, c.force); + rv = Grow_reshape(devlist->devname, mdfd, + devlist->next, &c, &s); } else if (array_size == 0) pr_err("no changes to --grow\n"); break; |