mtd/fs/jffs2 summary.h,1.3,1.4
havasi at infradead.org
havasi at infradead.org
Wed Feb 15 04:42:05 EST 2006
Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv10387
Modified Files:
summary.h
Log Message:
[JFFS2] Alligment fix. (noticed on Intel XScale big endian)
Thanks for Robert Liu.
Index: summary.h
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/summary.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- summary.h 4 Nov 2005 08:06:25 -0000 1.3
+++ summary.h 15 Feb 2006 09:42:02 -0000 1.4
@@ -52,7 +52,7 @@
struct jffs2_sum_unknown_flash
{
jint16_t nodetype; /* node type */
-};
+} __attribute__((packed));
struct jffs2_sum_inode_flash
{
@@ -104,7 +104,7 @@
{
union jffs2_sum_mem *next;
jint16_t nodetype; /* node type */
-};
+} __attribute__((packed));
struct jffs2_sum_inode_mem
{
More information about the linux-mtd-cvs
mailing list