Skip to contentSkip to conversation

master - lvmetad: fix process_each_label

PATCH David Teigland 1 participant 1 message Apr 23, 2018

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=7e33bd1335ba91d6b978df3a39250987d3412116
Commit:        7e33bd1335ba91d6b978df3a39250987d3412116
Parent:        ddb5de7a98af5e354013a07c61e46636b9ec01e6
Author:        David Teigland <[email protected]>
AuthorDate:    Tue Mar 6 11:22:18 2018 -0600
Committer:     David Teigland <[email protected]>
CommitterDate: Fri Apr 20 11:22:48 2018 -0500

lvmetad: fix process_each_label

Was missing the call to populate lvmcache info from lvmetad at the start of process_each_label.

---
 tools/toollib.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/toollib.c +1 -0
index b029a0d..c8dd9d3 100644
@@ -1505,6 +1505,7 @@ int process_each_label(struct cmd_context *cmd, int argc, char **argv,
 	log_set_report_object_type(LOG_REPORT_OBJECT_TYPE_LABEL);
 
 	lvmcache_label_scan(cmd);
+	lvmcache_seed_infos_from_lvmetad(cmd);
 
 	if (argc) {
 		for (; opt < argc; opt++) {