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:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user