From be826706b5c0fcca3bdeff6934cd8d46d046ddfe Mon Sep 17 00:00:00 2001 From: Josef Bacik Date: Fri, 26 Aug 2011 09:51:36 -0400 Subject: btrfs-progs: add a recovery utility to pull files from damanged filesystems Signed-off-by: Josef Bacik Signed-off-by: Chris Mason --- volumes.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'volumes.h') diff --git a/volumes.h b/volumes.h index 93b0e48f..7104d36e 100644 --- a/volumes.h +++ b/volumes.h @@ -96,9 +96,14 @@ int btrfs_alloc_dev_extent(struct btrfs_trans_handle *trans, u64 chunk_tree, u64 chunk_objectid, u64 chunk_offset, u64 num_bytes, u64 *start); +int __btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw, + u64 logical, u64 *length, u64 *type, + struct btrfs_multi_bio **multi_ret, int mirror_num); int btrfs_map_block(struct btrfs_mapping_tree *map_tree, int rw, u64 logical, u64 *length, struct btrfs_multi_bio **multi_ret, int mirror_num); +int btrfs_next_metadata(struct btrfs_mapping_tree *map_tree, u64 *logical, + u64 *size); int btrfs_rmap_block(struct btrfs_mapping_tree *map_tree, u64 chunk_start, u64 physical, u64 devid, u64 **logical, int *naddrs, int *stripe_len); -- cgit v1.2.3