path: root/disk-io.c
diff options
authorEric Sandeen <>2013-01-24 18:18:57 -0600
committerZach Brown <>2013-02-05 16:09:41 -0800
commitdbeedbed2aeb87c9add3c147c46a574b0e34be61 (patch)
tree830be0dfa82c84f4946539cbfd12d3b28df58320 /disk-io.c
parent17cc7af982f87db8cc559428cf8c309a753639a1 (diff)
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 <>
Diffstat (limited to 'disk-io.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-io.c b/disk-io.c
index eff49dac..00444fdc 100644
--- a/disk-io.c
+++ b/disk-io.c
@@ -287,7 +287,7 @@ int write_tree_block(struct btrfs_trans_handle *trans, struct btrfs_root *root,
return 0;
-static int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize,
+int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize,
u32 stripesize, struct btrfs_root *root,
struct btrfs_fs_info *fs_info, u64 objectid)