shadow: fix cached cluster writer incrementing data pointer by wrong amount

This commit is contained in:
2025-02-27 15:48:58 +00:00
parent 1752f4eacc
commit d423826815

View File

@@ -498,7 +498,7 @@ static enum ec3_status copy_cached_cluster(
cluster.c_len = encoded_size;
image->img_nr_clusters++;
image->img_nr_bytes += nr_read;
image->img_nr_bytes += nr_written;
cluster_table_put(&image->img_cluster_table, &cluster);