1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-03 08:23:48 +03:00

Rename fill_vg_create_params to vgcreate_params_set_from_args.

Rename fill_vg_create_params to vgcreate_params_set_from_args and remove
vg_name parameter from function (caller must set before calling function).
This commit is contained in:
Dave Wysochanski
2009-11-01 20:03:24 +00:00
parent c6ea6bf5b7
commit 2a924b3eaf
4 changed files with 12 additions and 11 deletions

View File

@@ -46,7 +46,8 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv)
}
vgcreate_params_set_defaults(&vp_def, NULL);
if (fill_vg_create_params(cmd, vg_name, &vp_new, &vp_def))
vp_def.vg_name = vg_name;
if (vgcreate_params_set_from_args(cmd, &vp_new, &vp_def))
return EINVALID_CMD_LINE;
if (validate_vg_create_params(cmd, &vp_new))