path: root/disk-io.h
diff options
authorDavid Sterba <>2016-10-04 15:34:16 +0200
committerDavid Sterba <>2016-10-05 12:39:01 +0200
commit5e96864dfdb224f62b3346700969d4d3932da529 (patch)
tree5a86f37545b1272ac9293509f683b298b544257a /disk-io.h
parentb6bf79eb962247ecabdd079cf266ec7173a6345a (diff)
btrfs-progs: rename __setup_root and change to return void
Exported function should use a prefix. Signed-off-by: David Sterba <>
Diffstat (limited to 'disk-io.h')
1 files changed, 1 insertions, 1 deletions
diff --git a/disk-io.h b/disk-io.h
index 1080fc16..1fc0bb74 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -120,7 +120,7 @@ void readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize,
struct extent_buffer* btrfs_find_create_tree_block(
struct btrfs_fs_info *fs_info, u64 bytenr, u32 blocksize);
-int __setup_root(u32 nodesize, u32 leafsize, u32 sectorsize,
+void btrfs_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,