btrfs-progs: tests: don't pass size to prepare_test_dev if not necessary
[platform/upstream/btrfs-progs.git] / cmds-inspect-tree-stats.c
index bcba7fb..82a6a16 100644 (file)
@@ -153,7 +153,6 @@ static int walk_nodes(struct btrfs_root *root, struct btrfs_path *path,
                path->slots[level] = i;
                if ((level - 1) > 0 || find_inline) {
                        tmp = read_tree_block(root->fs_info, cur_blocknr,
-                                             nodesize,
                                              btrfs_node_ptr_generation(b, i));
                        if (!extent_buffer_uptodate(tmp)) {
                                error("failed to read blocknr %llu",