[Ocfs2-commits] mfasheh commits r1626 - branches/cluster-groups/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Thu Nov 4 21:14:21 CST 2004


Author: mfasheh
Date: 2004-11-04 21:14:20 -0600 (Thu, 04 Nov 2004)
New Revision: 1626

Modified:
   branches/cluster-groups/src/suballoc.c
Log:
* add an assert



Modified: branches/cluster-groups/src/suballoc.c
===================================================================
--- branches/cluster-groups/src/suballoc.c	2004-11-05 01:37:41 UTC (rev 1625)
+++ branches/cluster-groups/src/suballoc.c	2004-11-05 03:14:20 UTC (rev 1626)
@@ -1414,6 +1414,7 @@
 
 	group = (ocfs2_group_desc *) group_bh->b_data;
 	OCFS_ASSERT_RO(IS_VALID_GROUP_DESC(group));
+	OCFS_ASSERT((count + start_bit) <= group->bg_bits);
 
 	status = ocfs_block_group_clear_bits(handle, alloc_inode,
 					     group, group_bh,



More information about the Ocfs2-commits mailing list