mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-04-29 11:44:39 -04:00
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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user