1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-11-04 12:23:49 +03:00

Rename pvcreate_params processing functions to better match <object><action>.

Rename fill_default_pvcreate_params to pvcreate_params_set_defaults.
Rename pvcreate_validate_restore_params to pvcreate_restore_params_validate.
Rename pvcreate_validate_params to pvcreate_params_validate.
This commit is contained in:
Dave Wysochanski
2009-11-01 19:51:54 +00:00
parent 06f97f3be3
commit accb17389c
8 changed files with 14 additions and 14 deletions

View File

@@ -40,8 +40,8 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv)
"use --pvmetadatacopies instead.");
return EINVALID_CMD_LINE;
}
fill_default_pvcreate_params(&pp);
if (!pvcreate_validate_params(cmd, argc, argv, &pp)) {
pvcreate_params_set_defaults(&pp);
if (!pvcreate_params_validate(cmd, argc, argv, &pp)) {
return EINVALID_CMD_LINE;
}