summaryrefslogtreecommitdiff
path: root/include/linux/jffs2.h
diff options
context:
space:
mode:
authorFerenc Havasi <havasi@inf.u-szeged.hu>2005-09-26 12:37:25 +0100
committerThomas Gleixner <tglx@mtd.linutronix.de>2005-11-06 22:32:45 +0100
commit2bc9764c4837c6b7da540b7a2592ec02f9a14e47 (patch)
tree9171bc9f8e36e7407c5f822c08fccdc2e45df050 /include/linux/jffs2.h
parentef6f0d1ffcd86484e01cec4fd2d2c5ca5887a43b (diff)
[JFFS2] Rename jffs2_summary_node to jffs2_raw_summary
Signed-off-by: Ferenc Havasi <havasi@inf.u-szeged.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/jffs2.h')
-rw-r--r--include/linux/jffs2.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index acb51a3669a2..2788880368c4 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -8,7 +8,7 @@
* For licensing information, see the file 'LICENCE' in the
* jffs2 directory.
*
- * $Id: jffs2.h,v 1.37 2005/09/07 08:34:55 havasi Exp $
+ * $Id: jffs2.h,v 1.38 2005/09/26 11:37:23 havasi Exp $
*
*/
@@ -151,9 +151,10 @@ struct jffs2_raw_inode
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 @@ struct jffs2_summary_node{
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__ */