[Ocfs2-commits] mfasheh commits r2112 - trunk/fs/ocfs2/dlm
svn-commits at oss.oracle.com
svn-commits at oss.oracle.com
Mon Apr 4 19:43:53 CDT 2005
Author: mfasheh
Signed-off-by: manish
Date: 2005-04-04 19:43:51 -0500 (Mon, 04 Apr 2005)
New Revision: 2112
Modified:
trunk/fs/ocfs2/dlm/dlmdomain.c
Log:
* Fix a comparison which was causing an endless loop on some
platforms.
Signed-off-by: manish
Modified: trunk/fs/ocfs2/dlm/dlmdomain.c
===================================================================
--- trunk/fs/ocfs2/dlm/dlmdomain.c 2005-04-05 00:42:52 UTC (rev 2111)
+++ trunk/fs/ocfs2/dlm/dlmdomain.c 2005-04-05 00:43:51 UTC (rev 2112)
@@ -451,7 +451,7 @@
clear_bit(dlm->node_num, dlm->domain_map);
while ((node = find_next_bit(dlm->domain_map, NM_MAX_NODES, 0))
!= -1) {
- if (node > NM_MAX_NODES)
+ if (node >= NM_MAX_NODES)
break;
/* Drop the dlm spinlock. This is safe wrt the domain_map.
More information about the Ocfs2-commits
mailing list