summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-02 16:08:05 -0500
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-02 16:08:05 -0500
commit7da449a2f634d1807a5aaa8cd8dceb360032343e (patch)
tree0e24fc3d477ed17dd7f127022dddc55f30b8a782 /ctree.h
parentbd530a2cff3945b4f79f591f936315b9f6d2929f (diff)
early reference counting
Diffstat (limited to 'ctree.h')
-rw-r--r--ctree.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctree.h b/ctree.h
index 6b4dabd4..9fe8ba6e 100644
--- a/ctree.h
+++ b/ctree.h
@@ -142,8 +142,9 @@ struct ctree_path {
};
struct tree_buffer *alloc_free_block(struct ctree_root *root);
+int btrfs_inc_ref(struct ctree_root *root, struct tree_buffer *buf);
int free_extent(struct ctree_root *root, u64 blocknr, u64 num_blocks);
-int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len);
+int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len, int cow);
void release_path(struct ctree_root *root, struct ctree_path *p);
void init_path(struct ctree_path *p);
int del_item(struct ctree_root *root, struct ctree_path *path);