From 4d1c4e1f7339746eacc850f45085ecd75bfd56a1 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Wed, 6 Jul 2016 14:10:53 -0500 Subject: [PATCH] vgcreate: allow pvcreate force option Commit a9940bd3c92 began disallowing the -f (force) option to apply to the implicit pvcreate. Make it allowed again. --- tools/vgcreate.c | 3 --- 1 file changed, 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; -- 2.43.5