This patch sets the default value of enable_waitplock_recovery to false
as it is the same as the kernel configuration default. Note that in this
specific case dlm_controld will not set the default value on startup.
However this patch syncs the kernel and user land default behaviour.
---
 dlm_controld/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlm_controld/main.c b/dlm_controld/main.c
index 3ec318c2..95107d09 100644
--- a/dlm_controld/main.c
+++ b/dlm_controld/main.c
@@ -1754,7 +1754,7 @@ static void set_opt_defaults(void)
 
        set_opt_default(enable_waitplock_recovery_ind,
                        "enable_waitplock_recovery", '\0', req_arg_bool,
-                       1, NULL,
+                       0, NULL,
                        "enable/disable posix lock to wait for dlm recovery 
after lock acquire");
 
        set_opt_default(plock_debug_ind,
-- 
2.26.2

Reply via email to