diff options
author | Kurt Hackel <kurt.hackel@oracle.com> | 2006-04-27 21:00:21 -0400 |
---|---|---|
committer | Mark Fasheh <mark.fasheh@oracle.com> | 2006-06-26 17:42:45 -0400 |
commit | aba9aac78817d88aa2b223f1aedf1e9815ae97b8 (patch) | |
tree | c796e9d34514fa96eae26f360296720c504c0766 /fs/ocfs2/dlm/dlmrecovery.c | |
parent | 2580a580e029f9a59a66cd230b1fd7e2d9ee339d (diff) |
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>
Diffstat (limited to 'fs/ocfs2/dlm/dlmrecovery.c')
-rw-r--r-- | fs/ocfs2/dlm/dlmrecovery.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ocfs2/dlm/dlmrecovery.c b/fs/ocfs2/dlm/dlmrecovery.c index bf2a02eca62e..b568bb6617d8 100644 --- a/fs/ocfs2/dlm/dlmrecovery.c +++ b/fs/ocfs2/dlm/dlmrecovery.c | |||
@@ -267,7 +267,7 @@ int dlm_is_node_dead(struct dlm_ctxt *dlm, u8 node) | |||
267 | { | 267 | { |
268 | int dead; | 268 | int dead; |
269 | spin_lock(&dlm->spinlock); | 269 | spin_lock(&dlm->spinlock); |
270 | dead = test_bit(node, dlm->domain_map); | 270 | dead = !test_bit(node, dlm->domain_map); |
271 | spin_unlock(&dlm->spinlock); | 271 | spin_unlock(&dlm->spinlock); |
272 | return dead; | 272 | return dead; |
273 | } | 273 | } |