commit | 43a0cac4658bbee9c9e84554712a94daa092c1cd | [log] [tgz] |
---|---|---|
author | Kevin Wolf <kwolf@redhat.com> | Wed Nov 16 15:20:45 2011 +0100 |
committer | Kevin Wolf <kwolf@redhat.com> | Mon Dec 05 14:51:36 2011 +0100 |
tree | 8c6a227c843bb92e62a4ed1664de865f1539d994 | |
parent | 589f284b7690bbb4ed37170590bae9527ed31b42 [diff] |
qcow2: Fix order of refcount updates in qcow2_snapshot_goto The refcount updates must be moved so that in the worst case we can get cluster leaks, but refcounts may never be too low. Signed-off-by: Kevin Wolf <kwolf@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@linux.vnet.ibm.com>