diff options
author | David Sterba <dsterba@suse.cz> | 2014-06-15 02:04:19 +0200 |
---|---|---|
committer | David Sterba <dsterba@suse.cz> | 2014-12-12 18:07:18 +0100 |
commit | d3e46fea1b1e8ba97a8c9dd8f54b97d086cd25aa (patch) | |
tree | 68afccf1b4f71865d05af4ff6ec5ff12f20f2f97 /fs/btrfs/relocation.c | |
parent | 9627aeee3e203e30679549e4962633698a6bf87f (diff) | |
download | lwn-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/relocation.c')
-rw-r--r-- | fs/btrfs/relocation.c | 3 |
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); } |