From dbeedbed2aeb87c9add3c147c46a574b0e34be61 Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Thu, 24 Jan 2013 18:18:57 -0600 Subject: btrfs-progs: remove duplicate __setup_root __setup_root() was present in find-root.c as well as disk-io.c. No need for the cut and paste, just use the one in disk-io.c Signed-off-by: Eric Sandeen Signed-off-by: Zach Brown --- disk-io.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'disk-io.h') diff --git a/disk-io.h b/disk-io.h index 53e9b17a..0ff48d2a 100644 --- a/disk-io.h +++ b/disk-io.h @@ -41,6 +41,10 @@ int readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize, u64 parent_transid); struct extent_buffer *btrfs_find_create_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize); + +int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize, + u32 stripesize, struct btrfs_root *root, + struct btrfs_fs_info *fs_info, u64 objectid); int clean_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root, struct extent_buffer *buf); struct btrfs_root *open_ctree(const char *filename, u64 sb_bytenr, int writes); -- cgit v1.2.3