[Ocfs2-commits] mfasheh commits r1182 - trunk/src

svn-commits at oss.oracle.com svn-commits at oss.oracle.com
Mon Jun 21 22:48:43 CDT 2004


Author: mfasheh
Date: 2004-06-21 21:48:42 -0500 (Mon, 21 Jun 2004)
New Revision: 1182

Modified:
   trunk/src/sysfile.c
Log:
* Fix a bug in is_global_system_inode which was introduced during the
  last shuffle of the system file inode enums.



Modified: trunk/src/sysfile.c
===================================================================
--- trunk/src/sysfile.c	2004-06-22 02:40:16 UTC (rev 1181)
+++ trunk/src/sysfile.c	2004-06-22 02:48:42 UTC (rev 1182)
@@ -55,8 +55,8 @@
 
 static inline int is_global_system_inode(int type)
 {
-	return (type >= GLOBAL_BITMAP_SYSTEM_INODE &&
-		type <= ORPHAN_DIR_SYSTEM_INODE);
+	return (type >= OCFS2_FIRST_ONLINE_SYSTEM_INODE &&
+		type <= OCFS2_LAST_GLOBAL_SYSTEM_INODE);
 }
 
 static inline int is_in_system_inode_array(ocfs_super *osb, int type, __u32 node)



More information about the Ocfs2-commits mailing list