qcow2-refcount: don't mask corruptions under internal errors
commit54b10010eb85e002c847339927f31aef33713afc
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Wed, 27 Feb 2019 13:14:33 +0000 (27 16:14 +0300)
committerMax Reitz <mreitz@redhat.com>
Tue, 7 May 2019 15:14:21 +0000 (7 17:14 +0200)
tree2b6cfe13ed9f8ccdb217222b39f44a995279a16a
parentcbb51e9f9373996c36e79601cf07e499aa5809a1
qcow2-refcount: don't mask corruptions under internal errors

No reasons for not reporting found corruptions as corruptions in case
of some internal errors, especially in case of just failed to fix l2
entry (and in this case, missed corruptions may influence comparing
logic, when we calculate difference between corruptions fields of two
results)

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Message-id: 20190227131433.197063-6-vsementsov@virtuozzo.com
Reviewed-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/qcow2-refcount.c