Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit a0fc686

Browse files
committed
silence consequent MtmDisableNode
1 parent 43ed03b commit a0fc686

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

state.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,9 @@ MtmStateProcessEvent(MtmEvent ev)
328328
*/
329329
void MtmDisableNode(int nodeId)
330330
{
331+
if (BIT_CHECK(Mtm->disabledNodeMask, nodeId-1))
332+
return;
333+
331334
MTM_LOG1("[STATE] Node %i: disabled", nodeId);
332335

333336
BIT_SET(Mtm->disabledNodeMask, nodeId-1);

0 commit comments

Comments
 (0)