From c42a18d372f314aa51d9d7877342f1d78fd68973 Mon Sep 17 00:00:00 2001 From: David Teigland Date: Fri, 20 Apr 2018 12:00:49 -0500 Subject: [PATCH] liblvm2app: missed the addition of lvmcache_label_scan --- liblvm/lvm_vg.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/liblvm/lvm_vg.c b/liblvm/lvm_vg.c index 0678bdc16..616c78fde 100644 --- a/liblvm/lvm_vg.c +++ b/liblvm/lvm_vg.c @@ -219,6 +219,8 @@ static vg_t _lvm_vg_open(lvm_t libh, const char *vgname, const char *mode, return NULL; } + lvmcache_label_scan((struct cmd_context *)libh); + vg = vg_read((struct cmd_context *)libh, vgname, NULL, internal_flags, 0); if (vg_read_error(vg)) { /* FIXME: use log_errno either here in inside vg_read */