diff options
author | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 12:57:10 +0200 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2013-04-05 18:58:05 +0200 |
commit | c2b6ff51e4a3ad1f7ec5dbc94970e9778b31d718 (patch) | |
tree | abd4ac0474e0cf937963e0cd06ce0ecf9915b0bf /include | |
parent | c2bc78b6a975ea2dcd7eee9f0dce22cc060cdcdc (diff) |
qcow2: Fix L1 write error handling in qcow2_update_snapshot_refcount
It ignored the error code, and at least the 'goto fail' is obvious
nonsense as it creates an endless loop (if the next attempt doesn't
magically succeed) and leaves the in-memory L1 table in big-endian
instead of converting it back.
In error cases, there's no point in writing an updated L1 table, so
skip this part for them.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions