[lvm-devel] master - lvmetad.c: ignore lvmetad global handle on disconnect

okozina okozina at fedoraproject.org
Mon May 25 07:12:00 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=f8bf6410954fcf82bf28852e0dba015c6b7f19dc
Commit:        f8bf6410954fcf82bf28852e0dba015c6b7f19dc
Parent:        9d558fbcc232314dc93a405b4da3079f5d8e9cb7
Author:        Ondrej Kozina <okozina at redhat.com>
AuthorDate:    Fri May 22 14:48:28 2015 +0200
Committer:     Ondrej Kozina <okozina at redhat.com>
CommitterDate: Mon May 25 09:11:04 2015 +0200

lvmetad.c: ignore lvmetad global handle on disconnect

do not unset lvmetad global handle on disconnect. This is
hotfix for issue described in:
https://www.redhat.com/archives/linux-lvm/2015-May/msg00008.html

Reported-by: Christian Hesse <list at eworm.de>
---
 lib/cache/lvmetad.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/lib/cache/lvmetad.c b/lib/cache/lvmetad.c
index 68162b6..73a382c 100644
--- a/lib/cache/lvmetad.c
+++ b/lib/cache/lvmetad.c
@@ -39,7 +39,6 @@ void lvmetad_disconnect(void)
 	if (_lvmetad_connected)
 		daemon_close(_lvmetad);
 	_lvmetad_connected = 0;
-	_lvmetad_cmd = NULL;
 }
 
 void lvmetad_init(struct cmd_context *cmd)




More information about the lvm-devel mailing list