mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
vgcreate: allow pvcreate force option
Commit a9940bd3c9
began disallowing the -f (force) option
to apply to the implicit pvcreate. Make it allowed again.
This commit is contained in:
parent
351bcf5f82
commit
4d1c4e1f73
@ -49,9 +49,6 @@ int vgcreate(struct cmd_context *cmd, int argc, char **argv)
|
||||
/* Don't create a new PV on top of an existing PV like pvcreate does. */
|
||||
pp.preserve_existing = 1;
|
||||
|
||||
/* pvcreate within vgcreate cannot be forced. */
|
||||
pp.force = 0;
|
||||
|
||||
if (!vgcreate_params_set_defaults(cmd, &vp_def, NULL))
|
||||
return EINVALID_CMD_LINE;
|
||||
vp_def.vg_name = vg_name;
|
||||
|
Loading…
Reference in New Issue
Block a user