Blame SOURCES/bz720543-pcmk-lrmd_correctly_cancel_monitor_actions_for_lsb_systemd_service_resources_on_cleaning_up.patch

ed0026
commit 59a56d6fef5885f6d22f1e20bd189d91d5844827
ed0026
Author: Gao,Yan <ygao@suse.com>
ed0026
Date:   Mon Sep 30 21:10:44 2013 +0800
ed0026
ed0026
    Fix: lrmd: Correctly cancel monitor actions for lsb/systemd/service resources on cleaning up
ed0026
    
ed0026
    (cherry picked from commit 1c14b9d69470ff56fd814091867394cd0a1cf61d)
ed0026
ed0026
diff --git a/lrmd/lrmd.c b/lrmd/lrmd.c
ed0026
index 8592b6c..65421d0 100644
ed0026
--- a/lrmd/lrmd.c
ed0026
+++ b/lrmd/lrmd.c
ed0026
@@ -978,7 +978,7 @@ free_rsc(gpointer data)
ed0026
              * let service library cancel it and tell us via the callback
ed0026
              * when it is cancelled. The rsc can be safely destroyed
ed0026
              * even if we are waiting for the cancel result */
ed0026
-            services_action_cancel(rsc->rsc_id, cmd->action, cmd->interval);
ed0026
+            services_action_cancel(rsc->rsc_id, normalize_action_name(rsc, cmd->action), cmd->interval);
ed0026
         }
ed0026
     }
ed0026
     /* frees list, but not list elements. */