diff options
author | David Teigland <teigland@redhat.com> | 2018-04-06 13:18:03 -0500 |
---|---|---|
committer | David Teigland <teigland@redhat.com> | 2018-04-20 11:22:48 -0500 |
commit | 89c65d4f71e51c2db4fcba176546d2474e3451bd (patch) | |
tree | 4df3c1412a89ecfefbb4e940c45b1a543b938166 /tools/vgrename.c | |
parent | 45e5e702c1d488df4898a41db0c00ead63c5f6ee (diff) | |
download | lvm2-89c65d4f71e51c2db4fcba176546d2474e3451bd.tar.gz |
remove unnecessary REQUIRES_FULL_LABEL_SCAN
we always scan all devices
Diffstat (limited to 'tools/vgrename.c')
-rw-r--r-- | tools/vgrename.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/tools/vgrename.c b/tools/vgrename.c index 5c69faf26..4f2a08bb6 100644 --- a/tools/vgrename.c +++ b/tools/vgrename.c @@ -59,11 +59,6 @@ static int _vgrename_single(struct cmd_context *cmd, const char *vg_name, /* * Check if a VG already exists with the new VG name. * - * When not using lvmetad, it's essential that a full scan has - * been done to ensure we see all existing VG names, so we - * do not use an existing name. This has been done by - * process_each_vg REQUIRES_FULL_LABEL_SCAN. - * * (FIXME: We could look for the new name in the list of all * VGs that process_each_vg created, but we don't have access * to that list here, so we have to look in lvmcache. |