summaryrefslogtreecommitdiffstats
path: root/tools/vgrename.c
diff options
context:
space:
mode:
authorAlasdair Kergon <agk@redhat.com>2010-03-16 16:57:03 +0000
committerAlasdair Kergon <agk@redhat.com>2010-03-16 16:57:03 +0000
commit38220f9fe91228ad00c72bfe5b75651f38ec287f (patch)
tree4eb292d0c6805c26630235fbf6e0a7d037fc08fd /tools/vgrename.c
parent11c289c27aad9d36b76d7f611cbf2512a6e1e2d3 (diff)
downloadlvm2-38220f9fe91228ad00c72bfe5b75651f38ec287f.tar.gz
lvm2-38220f9fe91228ad00c72bfe5b75651f38ec287f.tar.xz
lvm2-38220f9fe91228ad00c72bfe5b75651f38ec287f.zip
Remove unnecessary full_scan parameter from get_vgids and get_vgnames calls.
Diffstat (limited to 'tools/vgrename.c')
-rw-r--r--tools/vgrename.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/vgrename.c b/tools/vgrename.c
index a63a6266..799dcb24 100644
--- a/tools/vgrename.c
+++ b/tools/vgrename.c
@@ -87,7 +87,7 @@ static int vg_rename_path(struct cmd_context *cmd, const char *old_vg_path,
log_verbose("Checking for existing volume group \"%s\"", vg_name_old);
/* Avoid duplicates */
- if (!(vgids = get_vgids(cmd, 0, 0)) || dm_list_empty(vgids)) {
+ if (!(vgids = get_vgids(cmd, 0)) || dm_list_empty(vgids)) {
log_error("No complete volume groups found");
return 0;
}