summaryrefslogtreecommitdiff
path: root/tools/vgextend.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/vgextend.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/vgextend.c')
-rw-r--r--tools/vgextend.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/tools/vgextend.c b/tools/vgextend.c
index 785be3fa3..e50a8182d 100644
--- a/tools/vgextend.c
+++ b/tools/vgextend.c
@@ -154,9 +154,6 @@ int vgextend(struct cmd_context *cmd, int argc, char **argv)
/* pvcreate within vgextend cannot be forced. */
pp->force = 0;
- /* Check for old md signatures at the end of devices. */
- cmd->use_full_md_check = 1;
-
if (!lock_global(cmd, "ex"))
return_ECMD_FAILED;