shadow: fix cached cluster writer incrementing data pointer by wrong amount
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user