summaryrefslogtreecommitdiffstats
path: root/fs/btrfs/reada.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2014-06-15 02:24:21 +0200
committerDavid Sterba <dsterba@suse.cz>2014-12-12 18:07:20 +0100
commitc0dcaa4d7b66b788b315c418bda3cca75c5938dc (patch)
treee803cd49e551c29b5457457146657c5df1a5312e /fs/btrfs/reada.c
parentb6ae40ec76dc7589d9f77bd281515be3ad58c533 (diff)
downloadlinux-c0dcaa4d7b66b788b315c418bda3cca75c5938dc.tar.bz2
btrfs: sink blocksize parameter to reada_tree_block_flagged
Signed-off-by: David Sterba <dsterba@suse.cz>
Diffstat (limited to 'fs/btrfs/reada.c')
-rw-r--r--fs/btrfs/reada.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/btrfs/reada.c b/fs/btrfs/reada.c
index 5c3fde6571bb..4d3d4e5287c5 100644
--- a/fs/btrfs/reada.c
+++ b/fs/btrfs/reada.c
@@ -721,7 +721,7 @@ static int reada_start_machine_dev(struct btrfs_fs_info *fs_info,
atomic_inc(&dev->reada_in_flight);
ret = reada_tree_block_flagged(fs_info->extent_root, logical,
- fs_info->tree_root->nodesize, mirror_num, &eb);
+ mirror_num, &eb);
if (ret)
__readahead_hook(fs_info->extent_root, NULL, logical, ret);
else if (eb)