summaryrefslogtreecommitdiff
path: root/ctree.h
diff options
context:
space:
mode:
authorChris Mason <chris.mason@oracle.com>2007-03-16 08:56:18 -0400
committerDavid Woodhouse <dwmw2@hera.kernel.org>2007-03-16 08:56:18 -0400
commit3d8c87f4f7f48f944ccdc28df2a349010ac48e0a (patch)
treeb3fae6671ea6d296167bf9f84b0a61a18c30c1b6 /ctree.h
parent80fabe2ee05261505fbf39603e910d6d2f28d400 (diff)
pin freed blocks from the FS tree too
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 7c66b647..d15a2ed9 100644
--- a/ctree.h
+++ b/ctree.h
@@ -658,7 +658,8 @@ static inline u8 *btrfs_leaf_data(struct btrfs_leaf *l)
struct btrfs_buffer *btrfs_alloc_free_block(struct btrfs_root *root);
int btrfs_inc_ref(struct btrfs_root *root, struct btrfs_buffer *buf);
-int btrfs_free_extent(struct btrfs_root *root, u64 blocknr, u64 num_blocks);
+int btrfs_free_extent(struct btrfs_root *root, u64 blocknr, u64 num_blocks,
+ int pin);
int btrfs_search_slot(struct btrfs_root *root, struct btrfs_key *key,
struct btrfs_path *p, int ins_len, int cow);
void btrfs_release_path(struct btrfs_root *root, struct btrfs_path *p);