Commit 74a797d9 authored by Michael Opdenacker's avatar Michael Opdenacker Committed by Linus Torvalds

fs/hfs/btree.h: remove duplicate defines

This patch removes duplicate defines from fs/hfs/btree.h

[akpm@linux-foundation.org: retain the comments]
Signed-off-by: default avatarMichael Opdenacker <michael.opdenacker@free-electrons.com>
Reviewed-by: default avatarVyacheslav Dubeyko <slava@dubeyko.com>
Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent b4506261
...@@ -153,11 +153,6 @@ struct hfs_btree_header_rec { ...@@ -153,11 +153,6 @@ struct hfs_btree_header_rec {
u32 reserved3[16]; u32 reserved3[16];
} __packed; } __packed;
#define HFS_NODE_INDEX 0x00 /* An internal (index) node */
#define HFS_NODE_HEADER 0x01 /* The tree header node (node 0) */
#define HFS_NODE_MAP 0x02 /* Holds part of the bitmap of used nodes */
#define HFS_NODE_LEAF 0xFF /* A leaf (ndNHeight==1) node */
#define BTREE_ATTR_BADCLOSE 0x00000001 /* b-tree not closed properly. not #define BTREE_ATTR_BADCLOSE 0x00000001 /* b-tree not closed properly. not
used by hfsplus. */ used by hfsplus. */
#define HFS_TREE_BIGKEYS 0x00000002 /* key length is u16 instead of u8. #define HFS_TREE_BIGKEYS 0x00000002 /* key length is u16 instead of u8.
......
...@@ -156,10 +156,10 @@ struct hfs_bnode_desc { ...@@ -156,10 +156,10 @@ struct hfs_bnode_desc {
} __packed; } __packed;
/* HFS+ BTree node types */ /* HFS+ BTree node types */
#define HFS_NODE_INDEX 0x00 #define HFS_NODE_INDEX 0x00 /* An internal (index) node */
#define HFS_NODE_HEADER 0x01 #define HFS_NODE_HEADER 0x01 /* The tree header node (node 0) */
#define HFS_NODE_MAP 0x02 #define HFS_NODE_MAP 0x02 /* Holds part of the bitmap of used nodes */
#define HFS_NODE_LEAF 0xFF #define HFS_NODE_LEAF 0xFF /* A leaf (ndNHeight==1) node */
/* HFS+ BTree header */ /* HFS+ BTree header */
struct hfs_btree_header_rec { struct hfs_btree_header_rec {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment