Skip to contentSkip to conversation

: Fix polldaemon background after vg_read patches

PATCH New Dave Wysochanski 1 participant 2 messages Jun 26, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 : Fix polldaemon background after vg_read patches

This patch fixes the t-mirror-lvconvert.sh testcase after the 6 vg_read patches recently posted. Should apply cleanly on these patches, and after this all tests should pass.

#1 lore raw

PATCH 1/1 Add lvmcache_init() to polldaemon initialization.

---
 tools/polldaemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
tools/polldaemon.c +1 -0
index d137f5f..8c5c7da 100644
@@ -57,6 +57,7 @@ static int _become_daemon(struct cmd_context *cmd)
 	strncpy(*cmd->argv, "(lvm2copyd)", strlen(*cmd->argv));
 
 	reset_locking();
+	lvmcache_init();
 	dev_close_all();
 
 	return 1;
Signature · 1 line
1.6.0.6