]> err.no Git - linux-2.6/commitdiff
ocfs2: fix inverted logic in dlm_is_node_dead
authorKurt Hackel <kurt.hackel@oracle.com>
Fri, 28 Apr 2006 01:00:21 +0000 (18:00 -0700)
committerMark Fasheh <mark.fasheh@oracle.com>
Mon, 26 Jun 2006 21:42:45 +0000 (14:42 -0700)
Signed-off-by: Kurt Hackel <kurt.hackel@oracle.com>
Signed-off-by: Mark Fasheh <mark.fasheh@oracle.com>
fs/ocfs2/dlm/dlmrecovery.c

index bf2a02eca62eca13964b40065f2d002d8c18ba7c..b568bb6617d8f9924df48685b5bbd7eba9fae9aa 100644 (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;
 }