diff options
author | Vyacheslav Dubeyko <slava@dubeyko.com> | 2013-11-12 15:11:08 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-11-13 12:09:32 +0900 |
commit | 099e9245e04d50bb12ed621b4fa61df0a4c9dba9 (patch) | |
tree | afd87de0ccc84d5cd5c8854b1861b5a8b6800bec /fs/hfsplus/hfsplus_raw.h | |
parent | b3b5b0f03cc4ea074ed0ac110d0afd17e0ccdf9e (diff) | |
download | op-kernel-dev-099e9245e04d50bb12ed621b4fa61df0a4c9dba9.zip op-kernel-dev-099e9245e04d50bb12ed621b4fa61df0a4c9dba9.tar.gz |
hfsplus: implement attributes file's header node initialization code
Implement functionality of AttributesFile's header node initialization.
Signed-off-by: Vyacheslav Dubeyko <slava@dubeyko.com>
Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/hfsplus/hfsplus_raw.h')
-rw-r--r-- | fs/hfsplus/hfsplus_raw.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/fs/hfsplus/hfsplus_raw.h b/fs/hfsplus/hfsplus_raw.h index 2c54dd8..8ffb3a8 100644 --- a/fs/hfsplus/hfsplus_raw.h +++ b/fs/hfsplus/hfsplus_raw.h @@ -187,6 +187,9 @@ struct hfs_btree_header_rec { /* HFS+ BTree misc info */ #define HFSPLUS_TREE_HEAD 0 #define HFSPLUS_NODE_MXSZ 32768 +#define HFSPLUS_ATTR_TREE_NODE_SIZE 8192 +#define HFSPLUS_BTREE_HDR_NODE_RECS_COUNT 3 +#define HFSPLUS_BTREE_HDR_USER_BYTES 128 /* Some special File ID numbers (stolen from hfs.h) */ #define HFSPLUS_POR_CNID 1 /* Parent Of the Root */ |