summaryrefslogtreecommitdiff
path: root/fs/btrfs/disk-io.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-06-15 02:04:19 +0200
committerDavid Sterba <dsterba@suse.cz>2014-12-12 18:07:18 +0100
commitd3e46fea1b1e8ba97a8c9dd8f54b97d086cd25aa (patch)
tree68afccf1b4f71865d05af4ff6ec5ff12f20f2f97 /fs/btrfs/disk-io.c
parent9627aeee3e203e30679549e4962633698a6bf87f (diff)
downloadlwn-d3e46fea1b1e8ba97a8c9dd8f54b97d086cd25aa.tar.gz
lwn-d3e46fea1b1e8ba97a8c9dd8f54b97d086cd25aa.zip
btrfs: sink blocksize parameter to readahead_tree_block
All callers pass nodesize. Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/disk-io.c')
-rw-r--r--fs/btrfs/disk-io.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/btrfs/disk-io.c b/fs/btrfs/disk-io.c
index 30965120772b..be9d7c612489 100644
--- a/fs/btrfs/disk-io.c
+++ b/fs/btrfs/disk-io.c
@@ -1073,12 +1073,12 @@ static const struct address_space_operations btree_aops = {
.set_page_dirty = btree_set_page_dirty,
};
-void readahead_tree_block(struct btrfs_root *root, u64 bytenr, u32 blocksize)
+void readahead_tree_block(struct btrfs_root *root, u64 bytenr)
{
struct extent_buffer *buf = NULL;
struct inode *btree_inode = root->fs_info->btree_inode;
- buf = btrfs_find_create_tree_block(root, bytenr, blocksize);
+ buf = btrfs_find_create_tree_block(root, bytenr, root->nodesize);
if (!buf)
return;
read_extent_buffer_pages(&BTRFS_I(btree_inode)->io_tree,