ack, code review only/Thanks HansN

On 03/25/2015 05:44 AM, praveen.malv...@oracle.com wrote:
>   osaf/services/saf/amf/amfd/node.cc |  2 ++
>   1 files changed, 2 insertions(+), 0 deletions(-)
>
>
> diff --git a/osaf/services/saf/amf/amfd/node.cc 
> b/osaf/services/saf/amf/amfd/node.cc
> --- a/osaf/services/saf/amf/amfd/node.cc
> +++ b/osaf/services/saf/amf/amfd/node.cc
> @@ -692,6 +692,8 @@ void node_admin_state_set(AVD_AVND *node
>   {
>       SaAmfAdminStateT old_state  = node->saAmfNodeAdminState;
>       
> +     if (old_state == admin_state)
> +             return;
>       osafassert(admin_state <= SA_AMF_ADMIN_SHUTTING_DOWN);
>       if (0 != node->clm_pend_inv) {
>               /* Clm operations going on, skip notifications and rt updates 
> for node change. We are using node state


------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to