btrfs-progs: add tool to edit super blocks
[platform/upstream/btrfs-progs.git] / find-root.c
index 1765adf..7e4c51f 100644 (file)
@@ -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,