aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/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
commit02217ed299c6340a35696e0610047eb96826de2d (patch)
tree4a92c16ce2a51f701c829d96f644486fb7b29517 /fs/btrfs/ctree.h
parent77ce6846c40e83193df01295e5af437f8b6c7a2d (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.h3
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
144struct tree_buffer *alloc_free_block(struct ctree_root *root); 144struct tree_buffer *alloc_free_block(struct ctree_root *root);
145int btrfs_inc_ref(struct ctree_root *root, struct tree_buffer *buf);
145int free_extent(struct ctree_root *root, u64 blocknr, u64 num_blocks); 146int free_extent(struct ctree_root *root, u64 blocknr, u64 num_blocks);
146int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len); 147int search_slot(struct ctree_root *root, struct key *key, struct ctree_path *p, int ins_len, int cow);
147void release_path(struct ctree_root *root, struct ctree_path *p); 148void release_path(struct ctree_root *root, struct ctree_path *p);
148void init_path(struct ctree_path *p); 149void init_path(struct ctree_path *p);
149int del_item(struct ctree_root *root, struct ctree_path *path); 150int del_item(struct ctree_root *root, struct ctree_path *path);