Wang Shilong
2014-Jan-29 15:52 UTC
[PATCH] Btrfs: remove unused argument from read_block_for_search()
From: Wang Shilong <wangsl.fnst@cn.fujitsu.com> @time_seq is no longer used in read_block_for_search(), remove it. Signed-off-by: Wang Shilong <wangsl.fnst@cn.fujitsu.com> --- fs/btrfs/ctree.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/fs/btrfs/ctree.c b/fs/btrfs/ctree.c index 30f5b11..b484cd5 100644 --- a/fs/btrfs/ctree.c +++ b/fs/btrfs/ctree.c @@ -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; -- 1.8.4 -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html