[Ocfs2-commits] smushran commits r1510 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Sep 29 16:30:35 CDT 2004


Author: smushran
Date: 2004-09-29 16:30:33 -0500 (Wed, 29 Sep 2004)
New Revision: 1510

Modified:
   trunk/src/vote.c
Log:
find_first_bit() replaced by find_next_bit(..., 0)
done because find_first_bit() not defined in asm-ia64/bitops.h

Modified: trunk/src/vote.c
===================================================================
--- trunk/src/vote.c	2004-09-29 19:38:47 UTC (rev 1509)
+++ trunk/src/vote.c	2004-09-29 21:30:33 UTC (rev 1510)
@@ -1040,7 +1040,7 @@
 {
 	int bit;
 	OCFS_ASSERT(map->num_nodes > 0);
-       	bit = find_first_bit(map->map, map->num_nodes);
+	bit = find_next_bit(map->map, map->num_nodes, 0);
 	if (bit < map->num_nodes)
 		return 0;
 	return 1;



More information about the Ocfs2-commits mailing list