diff options
Diffstat (limited to 'include/linux/jffs2.h')
| -rw-r--r-- | include/linux/jffs2.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h index c6f70660b371..840631fa5ff1 100644 --- a/include/linux/jffs2.h +++ b/include/linux/jffs2.h | |||
| @@ -15,12 +15,12 @@ | |||
| 15 | #ifndef __LINUX_JFFS2_H__ | 15 | #ifndef __LINUX_JFFS2_H__ |
| 16 | #define __LINUX_JFFS2_H__ | 16 | #define __LINUX_JFFS2_H__ |
| 17 | 17 | ||
| 18 | #include <linux/magic.h> | ||
| 19 | |||
| 18 | /* You must include something which defines the C99 uintXX_t types. | 20 | /* You must include something which defines the C99 uintXX_t types. |
| 19 | We don't do it from here because this file is used in too many | 21 | We don't do it from here because this file is used in too many |
| 20 | different environments. */ | 22 | different environments. */ |
| 21 | 23 | ||
| 22 | #define JFFS2_SUPER_MAGIC 0x72b6 | ||
| 23 | |||
| 24 | /* Values we may expect to find in the 'magic' field */ | 24 | /* Values we may expect to find in the 'magic' field */ |
| 25 | #define JFFS2_OLD_MAGIC_BITMASK 0x1984 | 25 | #define JFFS2_OLD_MAGIC_BITMASK 0x1984 |
| 26 | #define JFFS2_MAGIC_BITMASK 0x1985 | 26 | #define JFFS2_MAGIC_BITMASK 0x1985 |
| @@ -186,6 +186,7 @@ struct jffs2_raw_xref | |||
| 186 | jint32_t hdr_crc; | 186 | jint32_t hdr_crc; |
| 187 | jint32_t ino; /* inode number */ | 187 | jint32_t ino; /* inode number */ |
| 188 | jint32_t xid; /* XATTR identifier number */ | 188 | jint32_t xid; /* XATTR identifier number */ |
| 189 | jint32_t xseqno; /* xref sequencial number */ | ||
| 189 | jint32_t node_crc; | 190 | jint32_t node_crc; |
| 190 | } __attribute__((packed)); | 191 | } __attribute__((packed)); |
| 191 | 192 | ||
