mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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: Michael Opdenacker <michael.opdenacker@free-electrons.com> Reviewed-by: Vyacheslav Dubeyko <slava@dubeyko.com> Cc: Christoph Hellwig <hch@lst.de> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
b450626198
commit
74a797d99a
@ -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.
|
||||
|
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user