summaryrefslogtreecommitdiff
path: root/tools/vgimportclone.c
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2018-04-09 11:13:43 -0500
committerDavid Teigland <teigland@redhat.com>2018-04-20 11:22:48 -0500
commitc0973e70a58e7e14e9cca29a0f8ad12719ea554f (patch)
tree8936e6a7f9ecac37962fd8c67177cc554f3b6107 /tools/vgimportclone.c
parent89c65d4f71e51c2db4fcba176546d2474e3451bd (diff)
downloadlvm2-c0973e70a58e7e14e9cca29a0f8ad12719ea554f.tar.gz
dev_cache: clean up scan
Pull out all of the twisted logic and simply call dev_cache_scan at the start of the command prior to label scan.
Diffstat (limited to 'tools/vgimportclone.c')
-rw-r--r--tools/vgimportclone.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/vgimportclone.c b/tools/vgimportclone.c
index 146d3b4bf..224d0b546 100644
--- a/tools/vgimportclone.c
+++ b/tools/vgimportclone.c
@@ -332,7 +332,6 @@ retry_name:
dm_list_iterate_items(vd, &vp.arg_import)
internal_filter_allow(cmd->mem, vd->dev);
lvmcache_destroy(cmd, 1, 0);
- dev_cache_full_scan(cmd->full_filter);
log_debug("Changing VG %s to %s.", vp.old_vgname, vp.new_vgname);