summaryrefslogtreecommitdiff
path: root/btrfstune.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 /btrfstune.c
parent1fa9653dc809ca05c21a2127c9faf15f04bd8ef8 (diff)
btrfs-progs: drop blocksize from read_tree_block
Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'btrfstune.c')
-rw-r--r--btrfstune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/btrfstune.c b/btrfstune.c
index 1ed73a92..0139e408 100644
--- a/btrfstune.c
+++ b/btrfstune.c
@@ -149,7 +149,7 @@ static int change_extents_uuid(struct btrfs_fs_info *fs_info)
goto next;
bytenr = key.objectid;
- eb = read_tree_block(fs_info, bytenr, fs_info->nodesize, 0);
+ eb = read_tree_block(fs_info, bytenr, 0);
if (IS_ERR(eb)) {
error("failed to read tree block: %llu", bytenr);
ret = PTR_ERR(eb);