Skip to content

Commit

Permalink
fs/hfs/btree.h: remove duplicate defines
Browse files Browse the repository at this point in the history
This patch removes duplicate defines from fs/hfs/btree.h

[[email protected]: retain the comments]
Signed-off-by: Michael Opdenacker <[email protected]>
Reviewed-by: Vyacheslav Dubeyko <[email protected]>
Cc: Christoph Hellwig <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Michael Opdenacker authored and torvalds committed Nov 13, 2013
1 parent b450626 commit 74a797d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions fs/hfs/btree.h
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,6 @@ struct hfs_btree_header_rec {
u32 reserved3[16];
} __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
used by hfsplus. */
#define HFS_TREE_BIGKEYS 0x00000002 /* key length is u16 instead of u8.
Expand Down
8 changes: 4 additions & 4 deletions fs/hfsplus/hfsplus_raw.h
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,10 @@ struct hfs_bnode_desc {
} __packed;

/* HFS+ BTree node types */
#define HFS_NODE_INDEX 0x00
#define HFS_NODE_HEADER 0x01
#define HFS_NODE_MAP 0x02
#define HFS_NODE_LEAF 0xFF
#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 */

/* HFS+ BTree header */
struct hfs_btree_header_rec {
Expand Down

0 comments on commit 74a797d

Please sign in to comment.