@@ -2478,7 +2478,7 @@ static int
read_block_for_search(struct btrfs_trans_handle *trans,
struct btrfs_root *root, struct btrfs_path *p,
struct extent_buffer **eb_ret, int level, int slot,
- struct btrfs_key *key, u64 time_seq)
+ struct btrfs_key *key)
{
u64 blocknr;
u64 gen;
@@ -2906,7 +2906,7 @@ cow_done:
}
err = read_block_for_search(trans, root, p,
- &b, level, slot, key, 0);
+ &b, level, slot, key);
if (err == -EAGAIN)
goto again;
if (err) {
@@ -3049,7 +3049,7 @@ again:
}
err = read_block_for_search(NULL, root, p, &b, level,
- slot, key, time_seq);
+ slot, key);
if (err == -EAGAIN)
goto again;
if (err) {
@@ -5833,7 +5833,7 @@ again:
next = c;
next_rw_lock = path->locks[level];
ret = read_block_for_search(NULL, root, path, &next, level,
- slot, &key, 0);
+ slot, &key);
if (ret == -EAGAIN)
goto again;
@@ -5883,7 +5883,7 @@ again:
break;
ret = read_block_for_search(NULL, root, path, &next, level,
- 0, &key, 0);
+ 0, &key);
if (ret == -EAGAIN)
goto again;