1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

liblvm2app: missed the addition of lvmcache_label_scan

This commit is contained in:
David Teigland 2018-04-20 12:00:49 -05:00
parent aee27dc7ba
commit c42a18d372

View File

@ -219,6 +219,8 @@ static vg_t _lvm_vg_open(lvm_t libh, const char *vgname, const char *mode,
return NULL; return NULL;
} }
lvmcache_label_scan((struct cmd_context *)libh);
vg = vg_read((struct cmd_context *)libh, vgname, NULL, internal_flags, 0); vg = vg_read((struct cmd_context *)libh, vgname, NULL, internal_flags, 0);
if (vg_read_error(vg)) { if (vg_read_error(vg)) {
/* FIXME: use log_errno either here in inside vg_read */ /* FIXME: use log_errno either here in inside vg_read */