« Previous | Next » 

Revision cdba7fee

IDcdba7fee1daa8865bac2d69da288171fe7c21aae

Added by Kevin Wolf almost 12 years ago

qcow2: Simplify calculation for COW area at the end

copy_sectors() always uses the sum (cluster_offset + n_start) or
(start_sect + n_start), so if some value is added to both cluster_offset
and start_sect, and subtracted from n_start, it's cancelled out anyway.

Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences