OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2580a58
)
ocfs2: fix inverted logic in dlm_is_node_dead
author
Kurt Hackel
<kurt.hackel@oracle.com>
Fri, 28 Apr 2006 01:00:21 +0000
(18:00 -0700)
committer
Mark 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
patch
|
blob
|
history
diff --git
a/fs/ocfs2/dlm/dlmrecovery.c
b/fs/ocfs2/dlm/dlmrecovery.c
index
bf2a02e
..
b568bb6
100644
(file)
--- 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)
{
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;
}