aboutsummaryrefslogtreecommitdiff
path: root/util/bitops.c
diff options
context:
space:
mode:
authorTuguoyi <tu.guoyi@h3c.com>2019-12-18 11:53:35 +0000
committerKevin Wolf <kwolf@redhat.com>2019-12-19 14:31:52 +0100
commit66be5c3e7825cab861b3d68e87851a4ac9ff8c3d (patch)
tree40bd29e7968fb078e1cbce21738950244c32b580 /util/bitops.c
parenteb4ea9aaa0051054b3c148ad8631be7510851681 (diff)
downloadqemu-66be5c3e7825cab861b3d68e87851a4ac9ff8c3d.zip
qemu-66be5c3e7825cab861b3d68e87851a4ac9ff8c3d.tar.gz
qemu-66be5c3e7825cab861b3d68e87851a4ac9ff8c3d.tar.bz2
qcow2: Move error check of local_err near its assignment
The local_err check outside of the if block was necessary when it was introduced in commit d1258dd0c87 because it needed to be executed even if qcow2_load_autoloading_dirty_bitmaps() returned false. After some modifications that all required the error check to remain where it is, commit 9c98f145dfb finally moved the qcow2_load_dirty_bitmaps() call into the if block, so now the error check should be there, too. Signed-off-by: Guoyi Tu <tu.guoyi@h3c.com> Reviewed-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com> Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'util/bitops.c')
0 files changed, 0 insertions, 0 deletions