path: root/disk-io.h
diff options
authorDavid Sterba <>2017-08-25 17:44:22 +0200
committerDavid Sterba <>2017-09-08 16:15:05 +0200
commit2030f497516e6e91f0884c12bbf0b91a6c6b83e4 (patch)
treee22450bcb20c4da920a572de06d189495c7495da /disk-io.h
parentd1b968dcbad59a304fafbf62b859e0692287a2f8 (diff)
btrfs-progs: drop blocksize argument from btrfs_find_create_tree_block
Metadata blocks are always nodesize. When reading the superblock::sys_array, the actual size of data is fixed to 4k and smaller than nodesize, but otherwise everything works as before. 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 bdf4a89c..c43ab615 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -123,7 +123,7 @@ int read_extent_data(struct btrfs_fs_info *fs_info, char *data, u64 logical,
void readahead_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr,
u32 blocksize, u64 parent_transid);
struct extent_buffer* btrfs_find_create_tree_block(
- struct btrfs_fs_info *fs_info, u64 bytenr, u32 blocksize);
+ struct btrfs_fs_info *fs_info, u64 bytenr);
void btrfs_setup_root(struct btrfs_root *root, struct btrfs_fs_info *fs_info,
u64 objectid);