Fix cluster freeing in qcow2
authorGleb Natapov <gleb@redhat.com>
Thu, 7 May 2009 08:31:44 +0000 (11:31 +0300)
committerAnthony Liguori <aliguori@us.ibm.com>
Fri, 8 May 2009 20:24:09 +0000 (15:24 -0500)
commitd4d698f020e50333d6eae48ce323752613b5c3ea
tree9e4c666706c67da435842a5b6c8c5d049f9d6351
parenta6d6552426dcbf726e5549f08b70c9318d6be14b
Fix cluster freeing in qcow2

Need to drop QCOW_OFLAG_COPIED from a cluster pointer before freeing it.

Add an explanation how thing meant to work.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
block-qcow2.c