diff options
author | David Teigland <teigland@redhat.com> | 2015-11-30 17:00:26 -0600 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2015-12-01 09:36:45 -0600 |
commit | ea74215fa1f76cc965efd4f4656ad74321827161 (patch) | |
tree | e78cfb9328ea3ccb69fe279505a6cd7b80b625ac /tools/vgremove.c | |
parent | 3bcdf5d14b930ba71c4dc5b03fcde0b19a5c8515 (diff) | |
download | lvm2-ea74215fa1f76cc965efd4f4656ad74321827161.tar.gz |
vgextend: pass single vgname as process_each_vg arg
Pass the single vgname as a new process_each_vg arg
instead of setting a cmd flag to tell process_each_vg
to take only the first vgname arg from argv.
Other commands with different argv formats will be
able to use it this way.
Diffstat (limited to 'tools/vgremove.c')
-rw-r--r-- | tools/vgremove.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgremove.c b/tools/vgremove.c index 219149ee0..3bf2b7045 100644 --- a/tools/vgremove.c +++ b/tools/vgremove.c @@ -109,7 +109,7 @@ int vgremove(struct cmd_context *cmd, int argc, char **argv) cmd->lockd_gl_disable = 1; cmd->handles_missing_pvs = 1; - ret = process_each_vg(cmd, argc, argv, + ret = process_each_vg(cmd, argc, argv, NULL, READ_FOR_UPDATE, NULL, &vgremove_single); |