diff options
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 9fe8ba6e25c1..4a7bc4e6e747 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -51,10 +51,12 @@ struct tree_buffer; | |||
51 | */ | 51 | */ |
52 | struct ctree_root { | 52 | struct ctree_root { |
53 | struct tree_buffer *node; | 53 | struct tree_buffer *node; |
54 | struct tree_buffer *commit_root; | ||
54 | struct ctree_root *extent_root; | 55 | struct ctree_root *extent_root; |
55 | struct key current_insert; | 56 | struct key current_insert; |
56 | int fp; | 57 | int fp; |
57 | struct radix_tree_root cache_radix; | 58 | struct radix_tree_root cache_radix; |
59 | struct radix_tree_root pinned_radix; | ||
58 | struct list_head trans; | 60 | struct list_head trans; |
59 | struct list_head cache; | 61 | struct list_head cache; |
60 | int cache_size; | 62 | int cache_size; |
@@ -151,4 +153,6 @@ int del_item(struct ctree_root *root, struct ctree_path *path); | |||
151 | int insert_item(struct ctree_root *root, struct key *key, void *data, int data_size); | 153 | int insert_item(struct ctree_root *root, struct key *key, void *data, int data_size); |
152 | int next_leaf(struct ctree_root *root, struct ctree_path *path); | 154 | int next_leaf(struct ctree_root *root, struct ctree_path *path); |
153 | int leaf_free_space(struct leaf *leaf); | 155 | int leaf_free_space(struct leaf *leaf); |
156 | int btrfs_drop_snapshot(struct ctree_root *root, struct tree_buffer *snap); | ||
157 | int btrfs_finish_extent_commit(struct ctree_root *root); | ||
154 | #endif | 158 | #endif |