aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/relocation.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/relocation.c
parentMerge branch 'raid56-scrub-replace' of git://github.com/miaoxie/linux-btrfs into for-linus (diff)
downloadlinux-dev-d3e46fea1b1e8ba97a8c9dd8f54b97d086cd25aa.tar.xz
linux-dev-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/relocation.c')
-rw-r--r--fs/btrfs/relocation.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/btrfs/relocation.c b/fs/btrfs/relocation.c
index 74257d6436ad..cb5d4462ebb4 100644
--- a/fs/btrfs/relocation.c
+++ b/fs/btrfs/relocation.c
@@ -2965,8 +2965,7 @@ int relocate_tree_blocks(struct btrfs_trans_handle *trans,
while (rb_node) {
block = rb_entry(rb_node, struct tree_block, rb_node);
if (!block->key_ready)
- readahead_tree_block(rc->extent_root, block->bytenr,
- block->key.objectid);
+ readahead_tree_block(rc->extent_root, block->bytenr);
rb_node = rb_next(rb_node);
}