aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/ctree.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/btrfs/ctree.c')
-rw-r--r--fs/btrfs/ctree.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c
index 39021bf2df9a..1b7e3545a596 100644
--- a/fs/btrfs/ctree.c
+++ b/fs/btrfs/ctree.c
@@ -2298,7 +2298,7 @@ static void reada_for_search(struct btrfs_root *root,
2298 if ((search <= target && target - search <= 65536) || 2298 if ((search <= target && target - search <= 65536) ||
2299 (search > target && search - target <= 65536)) { 2299 (search > target && search - target <= 65536)) {
2300 gen = btrfs_node_ptr_generation(node, nr); 2300 gen = btrfs_node_ptr_generation(node, nr);
2301 readahead_tree_block(root, search, blocksize, gen); 2301 readahead_tree_block(root, search, blocksize);
2302 nread += blocksize; 2302 nread += blocksize;
2303 } 2303 }
2304 nscan++; 2304 nscan++;
@@ -2350,9 +2350,9 @@ static noinline void reada_for_balance(struct btrfs_root *root,
2350 } 2350 }
2351 2351
2352 if (block1) 2352 if (block1)
2353 readahead_tree_block(root, block1, blocksize, 0); 2353 readahead_tree_block(root, block1, blocksize);
2354 if (block2) 2354 if (block2)
2355 readahead_tree_block(root, block2, blocksize, 0); 2355 readahead_tree_block(root, block2, blocksize);
2356} 2356}
2357 2357
2358 2358