mtd/include/linux jffs2.h,1.37,1.38

havasi at infradead.org havasi at infradead.org
Mon Sep 26 07:37:25 EDT 2005


Update of /home/cvs/mtd/include/linux
In directory phoenix.infradead.org:/tmp/cvs-serv8371/include/linux

Modified Files:
	jffs2.h 
Log Message:
[JFFS2] rename jffs2_summary_node to jffs2_raw_summary



Index: jffs2.h
===================================================================
RCS file: /home/cvs/mtd/include/linux/jffs2.h,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- jffs2.h	7 Sep 2005 08:34:55 -0000	1.37
+++ jffs2.h	26 Sep 2005 11:37:23 -0000	1.38
@@ -151,9 +151,10 @@
 	uint8_t data[0];
 } __attribute__((packed));
 
-struct jffs2_summary_node{
+struct jffs2_raw_summary
+{
 	jint16_t magic;
-	jint16_t nodetype; 	/* = JFFS2_NODETYPE_INODE_SUM */
+	jint16_t nodetype; 	/* = JFFS2_NODETYPE_SUMMARY */
 	jint32_t totlen;
 	jint32_t hdr_crc;
 	jint32_t sum_num;	/* number of sum entries*/
@@ -164,11 +165,12 @@
 	jint32_t sum[0]; 	/* inode summary info */
 } __attribute__((packed));
 
-union jffs2_node_union {
+union jffs2_node_union 
+{
 	struct jffs2_raw_inode i;
 	struct jffs2_raw_dirent d;
+	struct jffs2_raw_summary s;
 	struct jffs2_unknown_node u;
-	struct jffs2_summary_node s;
 };
 
 #endif /* __LINUX_JFFS2_H__ */





More information about the linux-mtd-cvs mailing list