aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/jffs2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/jffs2.h')
-rw-r--r--include/linux/jffs2.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index 2cac60e55322..c48f521de289 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -94,11 +94,11 @@
94 94
95typedef struct { 95typedef struct {
96 uint32_t v32; 96 uint32_t v32;
97} __attribute__((packed)) jint32_t; 97} __attribute__((packed)) jint32_t;
98 98
99typedef struct { 99typedef struct {
100 uint32_t m; 100 uint32_t m;
101} __attribute__((packed)) jmode_t; 101} __attribute__((packed)) jmode_t;
102 102
103typedef struct { 103typedef struct {
104 uint16_t v16; 104 uint16_t v16;
@@ -111,7 +111,7 @@ struct jffs2_unknown_node
111 jint16_t nodetype; 111 jint16_t nodetype;
112 jint32_t totlen; /* So we can skip over nodes we don't grok */ 112 jint32_t totlen; /* So we can skip over nodes we don't grok */
113 jint32_t hdr_crc; 113 jint32_t hdr_crc;
114} __attribute__((packed)); 114};
115 115
116struct jffs2_raw_dirent 116struct jffs2_raw_dirent
117{ 117{
@@ -129,7 +129,7 @@ struct jffs2_raw_dirent
129 jint32_t node_crc; 129 jint32_t node_crc;
130 jint32_t name_crc; 130 jint32_t name_crc;
131 uint8_t name[0]; 131 uint8_t name[0];
132} __attribute__((packed)); 132};
133 133
134/* The JFFS2 raw inode structure: Used for storage on physical media. */ 134/* The JFFS2 raw inode structure: Used for storage on physical media. */
135/* The uid, gid, atime, mtime and ctime members could be longer, but 135/* The uid, gid, atime, mtime and ctime members could be longer, but
@@ -161,7 +161,7 @@ struct jffs2_raw_inode
161 jint32_t data_crc; /* CRC for the (compressed) data. */ 161 jint32_t data_crc; /* CRC for the (compressed) data. */
162 jint32_t node_crc; /* CRC for the raw inode (excluding data) */ 162 jint32_t node_crc; /* CRC for the raw inode (excluding data) */
163 uint8_t data[0]; 163 uint8_t data[0];
164} __attribute__((packed)); 164};
165 165
166struct jffs2_raw_xattr { 166struct jffs2_raw_xattr {
167 jint16_t magic; 167 jint16_t magic;
@@ -201,7 +201,7 @@ struct jffs2_raw_summary
201 jint32_t sum_crc; /* summary information crc */ 201 jint32_t sum_crc; /* summary information crc */
202 jint32_t node_crc; /* node crc */ 202 jint32_t node_crc; /* node crc */
203 jint32_t sum[0]; /* inode summary info */ 203 jint32_t sum[0]; /* inode summary info */
204} __attribute__((packed)); 204};
205 205
206union jffs2_node_union 206union jffs2_node_union
207{ 207{