[Ocfs2-commits] khackel commits r1398 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Sat Aug 28 13:40:47 CDT 2004


Author: khackel
Date: 2004-08-28 13:40:45 -0500 (Sat, 28 Aug 2004)
New Revision: 1398

Modified:
   trunk/src/dlm.c
Log:
in new_lock_function, a DROP_READONLY vote should clear the bits of the responding nodes in the readonly map, not set them

Modified: trunk/src/dlm.c
===================================================================
--- trunk/src/dlm.c	2004-08-28 00:40:43 UTC (rev 1397)
+++ trunk/src/dlm.c	2004-08-28 18:40:45 UTC (rev 1398)
@@ -620,7 +620,7 @@
 
 	/* drop readonly should remove anyone who has responded */
        	if (flags & FLAG_DROP_READONLY) {
-		ocfs_node_map_set(&lockres->readonly_map, &vote_map);
+		ocfs_node_map_clear_bits(&lockres->readonly_map, &vote_map);
 		goto bail;
 	}
 



More information about the Ocfs2-commits mailing list