]> git.proxmox.com Git - mirror_qemu.git/commit - block/qcow2-refcount.c
qcow2-refcount: improve style of check_refcounts_l2()
authorVladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Tue, 14 Sep 2021 12:24:45 +0000 (15:24 +0300)
committerHanna Reitz <hreitz@redhat.com>
Wed, 15 Sep 2021 16:42:38 +0000 (18:42 +0200)
commit786c22d9c2c890f7c7fcd2600571a2ef429d65db
tree10b6482cd81c7cd2353ee0837b1913ff3680916f
parenta1c62436a4f053766892355da0ca35c5df19fc22
qcow2-refcount: improve style of check_refcounts_l2()

 - don't use same name for size in bytes and in entries
 - use g_autofree for l2_table
 - add whitespace
 - fix block comment style

Signed-off-by: Vladimir Sementsov-Ogievskiy <vsementsov@virtuozzo.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Hanna Reitz <hreitz@redhat.com>
Message-Id: <20210914122454.141075-2-vsementsov@virtuozzo.com>
Signed-off-by: Hanna Reitz <hreitz@redhat.com>
block/qcow2-refcount.c