Btrfs: early reference counting
[deliverable/linux.git] / fs / btrfs / ctree.h
index 6b4dabd47698c0bc6842a098d79fb085d7751292..9fe8ba6e25c135758f69160764ef4e31e9fac7e3 100644 (file)
@@ -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);
This page took 0.045493 seconds and 5 git commands to generate.