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>
This commit is contained in:
parent
2580a580e0
commit
aba9aac788
|
@ -267,7 +267,7 @@ int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node)
|
||||||
{
|
{
|
||||||
int dead;
|
int dead;
|
||||||
spin_lock(&dlm->spinlock);
|
spin_lock(&dlm->spinlock);
|
||||||
dead = test_bit(node, dlm->domain_map);
|
dead = !test_bit(node, dlm->domain_map);
|
||||||
spin_unlock(&dlm->spinlock);
|
spin_unlock(&dlm->spinlock);
|
||||||
return dead;
|
return dead;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue