summaryrefslogtreecommitdiff
path: root/tools/pvcreate.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2019-05-21 11:51:58 -0500
committerDavid Teigland <teigland@redhat.com>2019-05-21 11:51:58 -0500
commit6422b9ddc5c46968e2bef6ced12cd38e0b44c49d (patch)
tree4e9b6731e7ff55dd4649a482010523c4cf70133b /tools/pvcreate.c
parent19ef399ea781c2c74d0bc8de92f673648d190016 (diff)
downloadlvm2-6422b9ddc5c46968e2bef6ced12cd38e0b44c49d.tar.gz
move the setting of use_full_md_check flag
from each command to one location in command init. No functional change.
Diffstat (limited to 'tools/pvcreate.c')
-rw-r--r--tools/pvcreate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/pvcreate.c b/tools/pvcreate.c
index 5b59a79b5..29ae0fa2e 100644
--- a/tools/pvcreate.c
+++ b/tools/pvcreate.c
@@ -136,9 +136,6 @@ int pvcreate(struct cmd_context *cmd, int argc, char **argv)
pp.pv_count = argc;
pp.pv_names = argv;
- /* Check for old md signatures at the end of devices. */
- cmd->use_full_md_check = 1;
-
/* Needed to change the set of orphan PVs. */
if (!lock_global(cmd, "ex"))
return_ECMD_FAILED;