path: root/disk-io.h
diff options
authorDavid Sterba <>2017-08-25 18:07:15 +0200
committerDavid Sterba <>2017-09-08 16:15:05 +0200
commit145a5969bd5c8a276128b54217d0a6459c8a3af8 (patch)
tree7a6d29ae0ced37e375381413941dbaf88ea0058f /disk-io.h
parent2030f497516e6e91f0884c12bbf0b91a6c6b83e4 (diff)
btrfs-progs: drop blocksize argument from readahead_tree_block
Tree blocks are always nodesize. As readahead is only an optimization, exact size is not required and is only advisory. 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 c43ab615..6e42eced 100644
--- a/disk-io.h
+++ b/disk-io.h
@@ -121,7 +121,7 @@ struct extent_buffer* read_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr,
int read_extent_data(struct btrfs_fs_info *fs_info, char *data, u64 logical,
u64 *len, int mirror);
void readahead_tree_block(struct btrfs_fs_info *fs_info, u64 bytenr,
- u32 blocksize, u64 parent_transid);
+ u64 parent_transid);
struct extent_buffer* btrfs_find_create_tree_block(
struct btrfs_fs_info *fs_info, u64 bytenr);