projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/fs/ocfs2/dlm/dlmrecovery.c
b/fs/ocfs2/dlm/dlmrecovery.c
index bf2a02eca62eca13964b40065f2d002d8c18ba7c..b568bb6617d8f9924df48685b5bbd7eba9fae9aa 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;
}