Marcus Meissner
95c020b7a0
fix collective bugs OBS-URL: https://build.opensuse.org/request/show/212895 OBS-URL: https://build.opensuse.org/package/show/Base:System/lvm2?expand=0&rev=75
16 lines
526 B
Diff
16 lines
526 B
Diff
Index: LVM2.2.02.98/lib/locking/locking.c
|
|
===================================================================
|
|
--- LVM2.2.02.98.orig/lib/locking/locking.c
|
|
+++ LVM2.2.02.98/lib/locking/locking.c
|
|
@@ -221,8 +221,8 @@ static void _update_vg_lock_count(const
|
|
*/
|
|
int init_locking(int type, struct cmd_context *cmd, int suppress_messages)
|
|
{
|
|
- if (getenv("LVM_SUPPRESS_LOCKING_FAILURE_MESSAGES"))
|
|
- suppress_messages = 1;
|
|
+
|
|
+ suppress_messages = 1;
|
|
|
|
if (type < 0)
|
|
type = find_config_tree_int(cmd, "global/locking_type", 1);
|