1
0
Fork 0

ocfs2: fix inverted logic in dlm_is_node_dead

Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
wifi-calibration
Kurt Hackel 2006-04-27 18:00:21 -07:00 committed by Mark Fasheh
parent 2580a580e0
commit aba9aac788
1 changed files with 1 additions and 1 deletions

View File

@ -267,7 +267,7 @@ int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node)
{
int dead;
spin_lock(&dlm->spinlock);
dead = test_bit(node, dlm->domain_map);
dead = !test_bit(node, dlm->domain_map);
spin_unlock(&dlm->spinlock);
return dead;
}