You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07: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