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 --- disk-io.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'disk-io.h') diff --git a/disk-io.h b/disk-io.h index 7ebec24e..2048fcfc 100644 --- a/disk-io.h +++ b/disk-io.h @@ -46,6 +46,8 @@ int clean_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *open_ctree(const char *filename, u64 sb_bytenr, int writes); struct btrfs_root *open_ctree_fd(int fp, const char *path, u64 sb_bytenr, int writes); +struct btrfs_root *open_ctree_recovery(const char *filename, u64 sb_bytenr, + u64 root_tree_bytenr); int close_ctree(struct btrfs_root *root); int write_all_supers(struct btrfs_root *root); int write_ctree_super(struct btrfs_trans_handle *trans, -- cgit v1.2.3