Merge "libsnapshot: update cow estimation" into main

This commit is contained in:
Daniel Zheng 2023-11-13 18:13:09 +00:00 committed by Gerrit Code Review
commit e343580f72

View file

@ -322,6 +322,7 @@ bool CowWriterV3::WriteOperation(const CowOperationV3& op, const void* data, siz
if (IsEstimating()) {
header_.op_count++;
header_.op_count_max++;
next_data_pos_ += op.data_length;
return true;
}