On 24.05.21 16:20, Vladimir Sementsov-Ogievskiy wrote:
Let's pass the whole L2 entry and not bother with
L2E_COMPRESSED_OFFSET_SIZE_MASK.

It also helps further refactoring that adds generic
qcow2_parse_compressed_l2_entry() helper.

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsement...@virtuozzo.com>
Reviewed-by: Eric Blake <ebl...@redhat.com>
Reviewed-by: Alberto Garcia <be...@igalia.com>
---
  block/qcow2.h         |  1 -
  block/qcow2-cluster.c |  5 ++---
  block/qcow2.c         | 12 +++++++-----
  3 files changed, 9 insertions(+), 9 deletions(-)

Reviewed-by: Hanna Reitz <hre...@redhat.com>


Reply via email to