summaryrefslogtreecommitdiff
path: root/find-root.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2017-08-25 16:54:16 +0200
committerDavid Sterba <dsterba@suse.com>2017-09-08 16:15:05 +0200
commit98909c21d7725f622991e6fc7634544878fe5ab9 (patch)
treef4cae1b0a68b398efc47a690ebfd878094cdcbb6 /find-root.c
parent1fa9653dc809ca05c21a2127c9faf15f04bd8ef8 (diff)
btrfs-progs: drop blocksize from read_tree_block
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'find-root.c')
-rw-r--r--find-root.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/find-root.c b/find-root.c
index 1765adf8..7e4c51f6 100644
--- a/find-root.c
+++ b/find-root.c
@@ -133,7 +133,7 @@ int btrfs_find_root_search(struct btrfs_fs_info *fs_info,
for (offset = chunk_offset;
offset < chunk_offset + chunk_size;
offset += nodesize) {
- eb = read_tree_block(fs_info, offset, nodesize, 0);
+ eb = read_tree_block(fs_info, offset, 0);
if (!eb || IS_ERR(eb))
continue;
ret = add_eb_to_result(eb, result, nodesize, filter,