diff options
author | David Sterba <dsterba@suse.com> | 2017-08-25 18:07:15 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.com> | 2017-09-08 16:15:05 +0200 |
commit | 145a5969bd5c8a276128b54217d0a6459c8a3af8 (patch) | |
tree | 7a6d29ae0ced37e375381413941dbaf88ea0058f /disk-io.h | |
parent | 2030f497516e6e91f0884c12bbf0b91a6c6b83e4 (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 <dsterba@suse.com>
Diffstat (limited to 'disk-io.h')
-rw-r--r-- | disk-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |