token_coefficient change in cmap didn't triggered change. So only way
how to change token_coefficient was editing config file and reload.

Patch let's key totem.token_coefficient to be processed so
token_coefficient can be dynamically changed.

Signed-off-by: Jan Friesse <[email protected]>
---
 exec/totemconfig.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/exec/totemconfig.c b/exec/totemconfig.c
index 4aa8cc5..4d1c1e3 100644
--- a/exec/totemconfig.c
+++ b/exec/totemconfig.c
@@ -1199,7 +1199,7 @@ static void totem_change_notify(
                return;
 
        param = totem_get_param_by_name((struct totem_config *)user_data, 
key_name);
-       if (!param)
+       if (!param && strcmp(key_name, "totem.token_coefficient") != 0)
                return;
 
        /*
-- 
1.7.1

_______________________________________________
discuss mailing list
[email protected]
http://lists.corosync.org/mailman/listinfo/discuss

Reply via email to