diff options
author | David Teigland <teigland@redhat.com> | 2019-05-21 11:51:58 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2019-05-21 11:51:58 -0500 |
commit | 6422b9ddc5c46968e2bef6ced12cd38e0b44c49d (patch) | |
tree | 4e9b6731e7ff55dd4649a482010523c4cf70133b /tools/vgextend.c | |
parent | 19ef399ea781c2c74d0bc8de92f673648d190016 (diff) | |
download | lvm2-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.c | 3 |
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; |