[Ocfs2-commits] mfasheh commits r1516 - branches/dlm-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Wed Sep 29 19:08:14 CDT 2004


Author: mfasheh
Date: 2004-09-29 19:08:12 -0500 (Wed, 29 Sep 2004)
New Revision: 1516

Modified:
   branches/dlm-changes/src/alloc.c
Log:
* make alloc.c use the new find_clear_bits function



Modified: branches/dlm-changes/src/alloc.c
===================================================================
--- branches/dlm-changes/src/alloc.c	2004-09-30 00:05:36 UTC (rev 1515)
+++ branches/dlm-changes/src/alloc.c	2004-09-30 00:08:12 UTC (rev 1516)
@@ -3053,7 +3053,7 @@
 
 	best_fit_bits = bits_wanted;
 	status = ocfs_find_clear_bits (osb, &osb->cluster_bitmap,
-				       bits_wanted, 0, bit_off, 
+				       bits_wanted, bit_off, 
 				       &best_fit_bits);
 	if (status < 0) {
 		osb->cluster_bitmap.failed++;
@@ -3442,8 +3442,7 @@
 
 	status = 0;
 	status = ocfs_find_clear_bits (osb, &osb->cluster_bitmap, 
-				       num_clusters,
-				       0, &bitoffset, 
+				       num_clusters, &bitoffset, 
 				       NULL);
 	if (status < 0) {
 		osb->cluster_bitmap.failed++;



More information about the Ocfs2-commits mailing list