summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-02-23 08:38:36 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-02-23 08:38:36 -0500
commitc6c63c3e74b8e8d7eb6bed270a97dd9e54f703ca (patch)
treee27522cab8971805972f7e4dfb9850e94a868dd1 /ctree.h
parente0bafb2999cde235e5d08de08279525e65c51411 (diff)
Block sized tree extents and extent deletion
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/ctree.h b/ctree.h
index 78407d32..8c32c0e9 100644
--- a/ctree.h
+++ b/ctree.h
@@ -28,21 +28,12 @@ struct header {
struct tree_buffer;
-struct alloc_extent {
- u64 blocknr;
- u64 num_blocks;
- u64 num_used;
-} __attribute__ ((__packed__));
-
struct ctree_root {
struct tree_buffer *node;
struct ctree_root *extent_root;
- struct alloc_extent *alloc_extent;
- struct alloc_extent *reserve_extent;
+ struct key current_insert;
int fp;
struct radix_tree_root cache_radix;
- struct alloc_extent ai1;
- struct alloc_extent ai2;
};
struct ctree_root_info {
@@ -52,8 +43,6 @@ struct ctree_root_info {
u64 tree_root; /* the tree root */
u32 csum;
u32 ham;
- struct alloc_extent alloc_extent;
- struct alloc_extent reserve_extent;
u64 snapuuid[2]; /* root specific uuid */
} __attribute__ ((__packed__));