diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-15 01:07:32 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-10-02 17:14:50 +0200 |
commit | ce86cd59179279a6fe673d2a105d24fb7e70aef3 (patch) | |
tree | d5a57e9f23ef1041497d9ad7bd7e5c6aeb23fdcd /fs/btrfs/disk-io.h | |
parent | 453848a05ff984cb3665bad5c7e0024e8cfe87a5 (diff) | |
download | linux-ce86cd59179279a6fe673d2a105d24fb7e70aef3.tar.gz linux-ce86cd59179279a6fe673d2a105d24fb7e70aef3.tar.bz2 linux-ce86cd59179279a6fe673d2a105d24fb7e70aef3.zip |
btrfs: remove parameter blocksize from read_tree_block
We know the tree block size, no need to pass it around.
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.h')
-rw-r--r-- | fs/btrfs/disk-io.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/disk-io.h b/fs/btrfs/disk-io.h index 0d9793f6b594..03f396144fe1 100644 --- a/fs/btrfs/disk-io.h +++ b/fs/btrfs/disk-io.h @@ -45,7 +45,7 @@ struct btrfs_device; struct btrfs_fs_devices; struct extent_buffer *read_tree_block(struct btrfs_root *root, u64 bytenr, - u32 blocksize, u64 parent_transid); + u64 parent_transid); void readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize); int reada_tree_block_flagged(struct btrfs_root *root, u64 bytenr, u32 blocksize, int mirror_num, struct extent_buffer **eb); |