"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/amf/amfnd/susm.cc" between
opensaf-5.21.06.tar.gz and opensaf-5.21.09.tar.gz

About: OpenSAF is a project focused on Service Availability (SA) that develops middleware based on open and industry standard interfaces for applications requiring uninterrupted 24x7 service.

susm.cc  (opensaf-5.21.06):susm.cc  (opensaf-5.21.09)
skipping to change at line 3238 skipping to change at line 3238
/* /*
* If npi su, pick the prv csi & trigger it's comp fsm with TermEv. * If npi su, pick the prv csi & trigger it's comp fsm with TermEv.
*/ */
if (!m_AVND_SU_IS_PREINSTANTIABLE(su) && if (!m_AVND_SU_IS_PREINSTANTIABLE(su) &&
(!m_AVND_SU_IS_FAILED(su) || m_AVND_SU_IS_RESTART(su))) { (!m_AVND_SU_IS_FAILED(su) || m_AVND_SU_IS_RESTART(su))) {
TRACE("NPI SU"); TRACE("NPI SU");
/* get the only csi rec */ /* get the only csi rec */
osafassert(comp != nullptr); osafassert(comp != nullptr);
curr_csi = m_AVND_CSI_REC_FROM_COMP_DLL_NODE_GET( curr_csi = m_AVND_CSI_REC_FROM_COMP_DLL_NODE_GET(
m_NCS_DBLIST_FIND_FIRST(&comp->csi_list)); m_NCS_DBLIST_FIND_FIRST(&comp->csi_list));
if ((cb->term_state == AVND_TERM_STATE_OPENSAF_SHUTDOWN_STARTED) &&
(!curr_csi)) {
LOG_NO("CSI has already removed in shutting down");
goto done;
}
osafassert(curr_csi); osafassert(curr_csi);
/* mark the csi state assigned/removed */ /* mark the csi state assigned/removed */
if (m_AVND_SU_SI_CURR_ASSIGN_STATE_IS_REMOVING(curr_csi->si)) if (m_AVND_SU_SI_CURR_ASSIGN_STATE_IS_REMOVING(curr_csi->si))
m_AVND_COMP_CSI_CURR_ASSIGN_STATE_SET(curr_csi, m_AVND_COMP_CSI_CURR_ASSIGN_STATE_SET(curr_csi,
AVND_COMP_CSI_ASSIGN_STATE_REMOVED); AVND_COMP_CSI_ASSIGN_STATE_REMOVED);
else else
m_AVND_COMP_CSI_CURR_ASSIGN_STATE_SET( m_AVND_COMP_CSI_CURR_ASSIGN_STATE_SET(
curr_csi, AVND_COMP_CSI_ASSIGN_STATE_ASSIGNED); curr_csi, AVND_COMP_CSI_ASSIGN_STATE_ASSIGNED);
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)