« Previous | Next » 

Revision c5baaa48

IDc5baaa489f5557fa01431ba0c5de28b43fc9631e

Added by Kevin Wolf almost 15 years ago

qcow2: Fix grow_refcount_table error handling

In case of failure, we haven't increased the refcount for the newly allocated
cluster yet. Therefore we must not free the cluster or its refcount will become
negative (and endless recursion is possible).

Signed-off-by: Kevin Wolf <>
Signed-off-by: Anthony Liguori <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences