[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[lvm-devel] [PATCH] Add lvmcache_init() to polldaemon initialization.



Signed-off-by: Dave Wysochanski <dwysocha redhat com>
---
 tools/polldaemon.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/tools/polldaemon.c b/tools/polldaemon.c
index d137f5f..8c5c7da 100644
--- a/tools/polldaemon.c
+++ b/tools/polldaemon.c
@@ -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;
-- 
1.6.0.6


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]