summaryrefslogtreecommitdiff
path: root/tools/vgcreate.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2016-07-06 14:10:53 -0500
committerDavid Teigland <teigland@redhat.com>2016-07-06 14:10:53 -0500
commit4d1c4e1f7339746eacc850f45085ecd75bfd56a1 (patch)
tree34b84ca1df8c988565989b8604a0216169105631 /tools/vgcreate.c
parent351bcf5f82a76b897cd431e3709759507566ee7b (diff)
downloadlvm2-4d1c4e1f7339746eacc850f45085ecd75bfd56a1.tar.gz
vgcreate: allow pvcreate force option
Commit a9940bd3c92 began disallowing the -f (force) option to apply to the implicit pvcreate. Make it allowed again.
Diffstat (limited to 'tools/vgcreate.c')
-rw-r--r--tools/vgcreate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/vgcreate.c b/tools/vgcreate.c
index 1a6a240ed..af0c36364 100644
--- a/tools/vgcreate.c
+++ b/tools/vgcreate.c
@@ -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;