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>
This commit is contained in:

committed by
Linus Torvalds

parent
b3b5b0f03c
commit
099e9245e0
@@ -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 */
|
||||
|
Reference in New Issue
Block a user