« Previous | Next » 

Revision c7a4c37a

IDc7a4c37a0f768f7ad50f64414d578436019e1e96

Added by Kevin Wolf about 12 years ago

qcow2: Refactor qcow2_free_any_clusters

Zero clusters will add another cluster type. Refactor the open-coded
cluster type detection into a switch of QCOW2_CLUSTER_* options so that
the detection is in a single place. This makes it easier to add new
cluster types.

Signed-off-by: Kevin Wolf <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences