diff options
author | Jiro SEKIBA <jir@unicus.jp> | 2009-11-09 19:10:11 +0900 |
---|---|---|
committer | Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp> | 2009-11-20 10:05:46 +0900 |
commit | 6600b9dd8e0d4a60c610f216b78d992a598bc52a (patch) | |
tree | 9c1b718ab0c5d8dea2f200eaa1b8296e655e4657 /fs/nilfs2 | |
parent | 9b945d537db86557e5b5820b4b52df94c35b3829 (diff) | |
download | linux-stable-6600b9dd8e0d4a60c610f216b78d992a598bc52a.tar.gz linux-stable-6600b9dd8e0d4a60c610f216b78d992a598bc52a.tar.bz2 linux-stable-6600b9dd8e0d4a60c610f216b78d992a598bc52a.zip |
nilfs2: move definition of struct nilfs_btree_node
This is a trivial patch to expose struct nilfs_fs_btree_node.
The struct should be exposed outside of kernel, for it is disk format.
Signed-off-by: Jiro SEKIBA <jir@unicus.jp>
Signed-off-by: Ryusuke Konishi <konishi.ryusuke@lab.ntt.co.jp>
Diffstat (limited to 'fs/nilfs2')
-rw-r--r-- | fs/nilfs2/btree.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/fs/nilfs2/btree.h b/fs/nilfs2/btree.h index 0e72bbbc6b64..4b82d84ade75 100644 --- a/fs/nilfs2/btree.h +++ b/fs/nilfs2/btree.h @@ -34,28 +34,6 @@ struct nilfs_btree; struct nilfs_btree_path; /** - * struct nilfs_btree_node - B-tree node - * @bn_flags: flags - * @bn_level: level - * @bn_nchildren: number of children - * @bn_pad: padding - */ -struct nilfs_btree_node { - __u8 bn_flags; - __u8 bn_level; - __le16 bn_nchildren; - __le32 bn_pad; -}; - -/* flags */ -#define NILFS_BTREE_NODE_ROOT 0x01 - -/* level */ -#define NILFS_BTREE_LEVEL_DATA 0 -#define NILFS_BTREE_LEVEL_NODE_MIN (NILFS_BTREE_LEVEL_DATA + 1) -#define NILFS_BTREE_LEVEL_MAX 14 - -/** * struct nilfs_btree - B-tree structure * @bt_bmap: bmap base structure */ |