diff --git a/WHATS_NEW b/WHATS_NEW index a21d2b2b1..5956b746c 100644 --- a/WHATS_NEW +++ b/WHATS_NEW @@ -1,5 +1,6 @@ Version 2.02.120 - =============================== + lvm2app closes locking on lvm_quit(). Configure detects /run or /var/run. Add missing newline in clvmd --help output. diff --git a/liblvm/lvm_base.c b/liblvm/lvm_base.c index 31fc0bbf6..c1954d12f 100644 --- a/liblvm/lvm_base.c +++ b/liblvm/lvm_base.c @@ -96,6 +96,7 @@ lvm_t lvm_init(const char *system_dir) void lvm_quit(lvm_t libh) { struct saved_env e = store_user_env((struct cmd_context *)libh); + fin_locking(); destroy_toolcontext((struct cmd_context *)libh); udev_fin_library_context(); restore_user_env(&e);