[Ocfs2-commits] jlbec commits r1503 - branches/dlm-changes/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Sep 27 20:24:52 CDT 2004


Author: jlbec
Date: 2004-09-27 20:24:50 -0500 (Mon, 27 Sep 2004)
New Revision: 1503

Modified:
   branches/dlm-changes/src/ocfs2_fs.h
   branches/dlm-changes/src/suballoc.c
Log:

o Change OCFS2_SUBALLOC_FL to OCFS2_CHAIN_FL



Modified: branches/dlm-changes/src/ocfs2_fs.h
===================================================================
--- branches/dlm-changes/src/ocfs2_fs.h	2004-09-28 00:58:30 UTC (rev 1502)
+++ branches/dlm-changes/src/ocfs2_fs.h	2004-09-28 01:24:50 UTC (rev 1503)
@@ -97,7 +97,7 @@
 #define OCFS2_BITMAP_FL		(0x00000080)	/* Allocation bitmap */
 #define OCFS2_JOURNAL_FL	(0x00000100)	/* Node journal */
 #define OCFS2_DLM_FL		(0x00000200)	/* DLM area */
-#define OCFS2_SUBALLOC_FL	(0x00000400)	/* Suballocator File */
+#define OCFS2_CHAIN_FL		(0x00000400)	/* Chain allocator */
 
 /* Limit of space in ocfs2_dir_entry */
 #define OCFS2_MAX_FILENAME_LENGTH       255

Modified: branches/dlm-changes/src/suballoc.c
===================================================================
--- branches/dlm-changes/src/suballoc.c	2004-09-28 00:58:30 UTC (rev 1502)
+++ branches/dlm-changes/src/suballoc.c	2004-09-28 01:24:50 UTC (rev 1503)
@@ -384,7 +384,7 @@
 
 	fe = (ocfs2_dinode *) bh->b_data;
 	OCFS_ASSERT(IS_VALID_FILE_ENTRY(fe));
-	OCFS_ASSERT(fe->i_flags & OCFS2_SUBALLOC_FL);
+	OCFS_ASSERT(fe->i_flags & OCFS2_CHAIN_FL);
 
 	if (bits_wanted > (le32_to_cpu(fe->id1.bitmap1.i_total) - 
 			   le32_to_cpu(fe->id1.bitmap1.i_used))) {



More information about the Ocfs2-commits mailing list