osaf/libs/agents/saf/imma/imma_om_api.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


The patch contains the fix for locking IMM handle if attribute names contain 
SA_IMM_SEARCH_GET_CONFIG_ATTR in IMM version lower than A.02.11

diff --git a/osaf/libs/agents/saf/imma/imma_om_api.c 
b/osaf/libs/agents/saf/imma/imma_om_api.c
--- a/osaf/libs/agents/saf/imma/imma_om_api.c
+++ b/osaf/libs/agents/saf/imma/imma_om_api.c
@@ -5330,7 +5330,7 @@ SaAisErrorT saImmOmAccessorGet_2(SaImmAc
                                TRACE("ERR_VERSION: search option 
SA_IMM_SEARCH_GET_CONFIG_ATTR "
                                        "requires IMM version A.02.11");
                                rc = SA_AIS_ERR_VERSION;
-                               goto release_lock;
+                               goto mds_send_fail;
                        }
 
                        req->searchOptions = SA_IMM_SEARCH_ONE_ATTR | 
SA_IMM_SEARCH_GET_CONFIG_ATTR;

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to