diff options
author | Chris Mason <chris.mason@oracle.com> | 2007-03-02 16:08:05 -0500 |
---|---|---|
committer | David Woodhouse <dwmw2@hera.kernel.org> | 2007-03-02 16:08:05 -0500 |
commit | 02217ed299c6340a35696e0610047eb96826de2d (patch) | |
tree | 4a92c16ce2a51f701c829d96f644486fb7b29517 /fs/btrfs/ctree.h | |
parent | 77ce6846c40e83193df01295e5af437f8b6c7a2d (diff) |
Btrfs: early reference counting
Signed-off-by: Chris Mason <chris.mason@oracle.com>
Diffstat (limited to 'fs/btrfs/ctree.h')
-rw-r--r-- | fs/btrfs/ctree.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ctree.h b/fs/btrfs/ctree.h index 6b4dabd47698..9fe8ba6e25c1 100644 --- a/fs/btrfs/ctree.h +++ b/fs/btrfs/ctree.h | |||
@@ -142,8 +142,9 @@ struct ctree_path { | |||
142 | }; | 142 | }; |
143 | 143 | ||
144 | struct tree_buffer *alloc_free_block(struct ctree_root *root); | 144 | struct tree_buffer *alloc_free_block(struct ctree_root *root); |
145 | int btrfs_inc_ref(struct ctree_root *root, struct tree_buffer *buf); | ||
145 | int free_extent(struct ctree_root *root, u64 blocknr, u64 num_blocks); | 146 | int free_extent(struct ctree_root *root, u64 blocknr, u64 num_blocks); |
146 | int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len); | 147 | int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len, int cow); |
147 | void release_path(struct ctree_root *root, struct ctree_path *p); | 148 | void release_path(struct ctree_root *root, struct ctree_path *p); |
148 | void init_path(struct ctree_path *p); | 149 | void init_path(struct ctree_path *p); |
149 | int del_item(struct ctree_root *root, struct ctree_path *path); | 150 | int del_item(struct ctree_root *root, struct ctree_path *path); |