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

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@eworm.de>
This commit is contained in:
Ondrej Kozina 2015-05-22 14:48:28 +02:00
parent 9d558fbcc2
commit f8bf641095

1
lib/cache/lvmetad.c vendored
View File

@ -39,7 +39,6 @@ void lvmetad_disconnect(void)
if (_lvmetad_connected) if (_lvmetad_connected)
daemon_close(_lvmetad); daemon_close(_lvmetad);
_lvmetad_connected = 0; _lvmetad_connected = 0;
_lvmetad_cmd = NULL;
} }
void lvmetad_init(struct cmd_context *cmd) void lvmetad_init(struct cmd_context *cmd)