PERFORCE change 166809 for review

Aditya Sarawgi truncs at FreeBSD.org
Thu Jul 30 17:35:35 UTC 2009


http://perforce.freebsd.org/chv.cgi?CH=166809

Change 166809 by truncs at aditya on 2009/07/30 17:34:37

	Rearranging to make it more consistent with NetBSD's code.

Affected files ...

.. //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#29 edit

Differences ...

==== //depot/projects/soc2009/soc_ext2fs/src/sys/gnu/fs/ext2fs/ext2_fs.h#29 (text+ko) ====

@@ -240,19 +240,6 @@
 #define e2di_size_high	e2di_dacl
 
 
-/*
- * File clean flags
- */
-#define	E2FS_ISCLEAN			0x0001	/* Unmounted cleanly */
-#define	E2FS_ERRORS			0x0002	/* Errors detected */
-
-/*
- * Definitions of behavior on errors
- */
-#define E2FS_BEH_CONTINUE		1	/* continue operation */
-#define E2FS_BEH_READONLY		2	/* remount fs read only */
-#define E2FS_BEH_PANIC			3	/* cause panic */
-#define E2FS_BEH_DEFAULT		E2FS_BEH_CONTINUE
 
 
 /*
@@ -342,19 +329,7 @@
 	struct ext2_gd *e2fs_gd; /* Group Descriptors */
 };
 
-
-
-
 /*
- * OS identification
- */
-#define E2FS_OS_LINUX		0
-#define E2FS_OS_HURD		1
-#define E2FS_OS_MASIX		2
-#define E2FS_OS_FREEBSD		3
-#define E2FS_OS_LITES		4
-
-/*
  * Revision levels
  */
 #define E2FS_REV0		0	/* The good old (original) format */
@@ -403,6 +378,28 @@
 					 | EXT2F_ROCOMPAT_LARGEFILE)
 #define EXT2F_INCOMPAT_SUPP		EXT2F_INCOMPAT_FTYPE
 
+/*
+ * Definitions of behavior on errors
+ */
+#define E2FS_BEH_CONTINUE		1	/* continue operation */
+#define E2FS_BEH_READONLY		2	/* remount fs read only */
+#define E2FS_BEH_PANIC			3	/* cause panic */
+#define E2FS_BEH_DEFAULT		E2FS_BEH_CONTINUE
+
+/*
+ * OS identification
+ */
+#define E2FS_OS_LINUX		0
+#define E2FS_OS_HURD		1
+#define E2FS_OS_MASIX		2
+#define E2FS_OS_FREEBSD		3
+#define E2FS_OS_LITES		4
+
+/*
+ * File clean flags
+ */
+#define	E2FS_ISCLEAN			0x0001	/* Unmounted cleanly */
+#define	E2FS_ERRORS			0x0002	/* Errors detected */
 
 /*
  * Structure of a directory entry


More information about the p4-projects mailing list