Update admo id after resurrecting.
---
 src/imm/agent/imma_om_api.cc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/imm/agent/imma_om_api.cc b/src/imm/agent/imma_om_api.cc
index 7da8a14..7155799 100644
--- a/src/imm/agent/imma_om_api.cc
+++ b/src/imm/agent/imma_om_api.cc
@@ -3917,8 +3917,6 @@ static SaAisErrorT admin_op_invoke_common(
   }
 
   immHandle = ao_node->mImmHandle;
-  adminOwnerId = ao_node->mAdminOwnerId;
-  ao_node = NULL;
 
   /* Look up client node also, to verify that the client handle
      is still active. */
@@ -3970,6 +3968,9 @@ static SaAisErrorT admin_op_invoke_common(
     TRACE_1("Reactive resurrect of handle %llx succeeded", immHandle);
   }
 
+  adminOwnerId = ao_node->mAdminOwnerId;
+  ao_node = NULL;
+
   if (isA2bCall && !(cl_node->isImmA2b)) {
     rc = SA_AIS_ERR_VERSION;
     TRACE_2(
-- 
2.7.4


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to