hfsplus: implement attributes file's header node initialization code
Subsystems (2)
Vyacheslav Dubeyko
maintainerPATCH v2 2/3 hfsplus: implement attributes file's header node initialization code
From: Vyacheslav Dubeyko <[email protected]>
Subject: [PATCH v2 2/3] hfsplus: implement attributes file's header node initialization code
This patch implements functionality of AttributesFile's header node initialization.
Signed-off-by Vyacheslav Dubeyko <[email protected]>
CC Al Viro <[email protected]>
CC Christoph Hellwig <[email protected]>
CC Hin-Tak Leung <[email protected]>
--- fs/hfsplus/hfsplus_raw.h | 3 +++ fs/hfsplus/xattr.c | 65 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+)
fs/hfsplus/hfsplus_raw.h +3 -0
@@ -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 */
fs/hfsplus/xattr.c +65 -0
71 lines not on this page · raw message
Signature · 1 line
1.7.9.5