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