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 | 7da449a2f634d1807a5aaa8cd8dceb360032343e (patch) | |
tree | 0e24fc3d477ed17dd7f127022dddc55f30b8a782 /ctree.h | |
parent | bd530a2cff3945b4f79f591f936315b9f6d2929f (diff) |
early reference counting
Diffstat (limited to 'ctree.h')
-rw-r--r-- | ctree.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |