mirror of
git://sourceware.org/git/lvm2.git
synced 2024-12-21 13:34:40 +03:00
lvm2app: call fin_locking in lvm_quit
lvm_quit() function should also close locking. Fixes unclosed socket connecting clvmd.
This commit is contained in:
parent
bc52f07a8f
commit
74a81a4577
@ -1,5 +1,6 @@
|
|||||||
Version 2.02.120 -
|
Version 2.02.120 -
|
||||||
===============================
|
===============================
|
||||||
|
lvm2app closes locking on lvm_quit().
|
||||||
Configure detects /run or /var/run.
|
Configure detects /run or /var/run.
|
||||||
Add missing newline in clvmd --help output.
|
Add missing newline in clvmd --help output.
|
||||||
|
|
||||||
|
@ -96,6 +96,7 @@ lvm_t lvm_init(const char *system_dir)
|
|||||||
void lvm_quit(lvm_t libh)
|
void lvm_quit(lvm_t libh)
|
||||||
{
|
{
|
||||||
struct saved_env e = store_user_env((struct cmd_context *)libh);
|
struct saved_env e = store_user_env((struct cmd_context *)libh);
|
||||||
|
fin_locking();
|
||||||
destroy_toolcontext((struct cmd_context *)libh);
|
destroy_toolcontext((struct cmd_context *)libh);
|
||||||
udev_fin_library_context();
|
udev_fin_library_context();
|
||||||
restore_user_env(&e);
|
restore_user_env(&e);
|
||||||
|
Loading…
Reference in New Issue
Block a user