diff options
Diffstat (limited to 'fs/hfsplus/hfsplus_raw.h')
-rw-r--r-- | fs/hfsplus/hfsplus_raw.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/fs/hfsplus/hfsplus_raw.h b/fs/hfsplus/hfsplus_raw.h index b4fbed633219..ccc47966dc54 100644 --- a/fs/hfsplus/hfsplus_raw.h +++ b/fs/hfsplus/hfsplus_raw.h | |||
@@ -22,8 +22,10 @@ | |||
22 | #define HFSPLUS_SECTOR_SHIFT 9 | 22 | #define HFSPLUS_SECTOR_SHIFT 9 |
23 | #define HFSPLUS_VOLHEAD_SECTOR 2 | 23 | #define HFSPLUS_VOLHEAD_SECTOR 2 |
24 | #define HFSPLUS_VOLHEAD_SIG 0x482b | 24 | #define HFSPLUS_VOLHEAD_SIG 0x482b |
25 | #define HFSPLUS_VOLHEAD_SIGX 0x4858 | ||
25 | #define HFSPLUS_SUPER_MAGIC 0x482b | 26 | #define HFSPLUS_SUPER_MAGIC 0x482b |
26 | #define HFSPLUS_CURRENT_VERSION 4 | 27 | #define HFSPLUS_MIN_VERSION 4 |
28 | #define HFSPLUS_CURRENT_VERSION 5 | ||
27 | 29 | ||
28 | #define HFSP_WRAP_MAGIC 0x4244 | 30 | #define HFSP_WRAP_MAGIC 0x4244 |
29 | #define HFSP_WRAP_ATTRIB_SLOCK 0x8000 | 31 | #define HFSP_WRAP_ATTRIB_SLOCK 0x8000 |
@@ -161,7 +163,7 @@ struct hfs_btree_header_rec { | |||
161 | u16 reserved1; | 163 | u16 reserved1; |
162 | __be32 clump_size; | 164 | __be32 clump_size; |
163 | u8 btree_type; | 165 | u8 btree_type; |
164 | u8 reserved2; | 166 | u8 key_type; |
165 | __be32 attributes; | 167 | __be32 attributes; |
166 | u32 reserved3[16]; | 168 | u32 reserved3[16]; |
167 | } __packed; | 169 | } __packed; |
@@ -186,6 +188,10 @@ struct hfs_btree_header_rec { | |||
186 | #define HFSPLUS_EXCH_CNID 15 /* ExchangeFiles temp id */ | 188 | #define HFSPLUS_EXCH_CNID 15 /* ExchangeFiles temp id */ |
187 | #define HFSPLUS_FIRSTUSER_CNID 16 /* first available user id */ | 189 | #define HFSPLUS_FIRSTUSER_CNID 16 /* first available user id */ |
188 | 190 | ||
191 | /* btree key type */ | ||
192 | #define HFSPLUS_KEY_CASEFOLDING 0xCF /* case-insensitive */ | ||
193 | #define HFSPLUS_KEY_BINARY 0xBC /* case-sensitive */ | ||
194 | |||
189 | /* HFS+ catalog entry key */ | 195 | /* HFS+ catalog entry key */ |
190 | struct hfsplus_cat_key { | 196 | struct hfsplus_cat_key { |
191 | __be16 key_len; | 197 | __be16 key_len; |