summaryrefslogtreecommitdiffstats
path: root/include/linux/jffs2.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/jffs2.h')
-rw-r--r--include/linux/jffs2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index 228ad72f7dd..a26fbd498c7 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -82,15 +82,15 @@
typedef struct {
uint32_t v32;
-} jint32_t;
+} __attribute__((packed)) jint32_t;
typedef struct {
uint32_t m;
-} jmode_t;
+} __attribute__((packed)) jmode_t;
typedef struct {
uint16_t v16;
-} jint16_t;
+} __attribute__((packed)) jint16_t;
struct jffs2_unknown_node
{