From 0d53b212d8464c6476e0cda0bbb8533e080816f6 Mon Sep 17 00:00:00 2001 From: Yan Zheng Date: Wed, 17 Dec 2008 16:10:07 -0500 Subject: Btrfs: update converter for the new disk format This patch updates the ext3 to btrfs converter for the new disk format. This mainly involves changing the convert's data relocation and free space management code. This patch also ports some functions from kernel module to btrfs-progs. Thank you, Signed-off-by: Yan Zheng --- disk-io.h | 1 + 1 file changed, 1 insertion(+) (limited to 'disk-io.h') diff --git a/disk-io.h b/disk-io.h index 8e9fab9..d9a35af 100644 --- a/disk-io.h +++ b/disk-io.h @@ -49,6 +49,7 @@ struct btrfs_root *open_ctree_fd(int fp, const char *path, u64 sb_bytenr, int close_ctree(struct btrfs_root *root); int write_ctree_super(struct btrfs_trans_handle *trans, struct btrfs_root *root); +int btrfs_read_dev_super(int fd, struct btrfs_super_block *sb, u64 sb_bytenr); int btrfs_map_bh_to_logical(struct btrfs_root *root, struct extent_buffer *bh, u64 logical); struct extent_buffer *btrfs_find_tree_block(struct btrfs_root *root, -- cgit v1.2.1