[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2 5/7] block/qcow2: Make get_refcount() global
From: |
Eric Blake |
Subject: |
Re: [Qemu-devel] [PATCH v2 5/7] block/qcow2: Make get_refcount() global |
Date: |
Tue, 05 Aug 2014 07:18:10 -0600 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.7.0 |
On 08/01/2014 05:49 PM, Max Reitz wrote:
> Reading the refcount of a cluster is an operation which can be useful in
> all of the qcow2 code, so make that function globally available.
>
> While touching this function, amend the comment describing the "addend"
> parameter: It is (no longer, if it ever was) necessary to have it set to
> -1 or 1; any value is fine.
>
> Signed-off-by: Max Reitz <address@hidden>
> ---
> block/qcow2-refcount.c | 26 +++++++++++++-------------
> block/qcow2.h | 2 ++
> 2 files changed, 15 insertions(+), 13 deletions(-)
Reviewed-by: Eric Blake <address@hidden>
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature
- [Qemu-devel] [PATCH v2 2/7] qemu-img: Add progress output for amend, (continued)
- [Qemu-devel] [PATCH v2 2/7] qemu-img: Add progress output for amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 4/7] block/qcow2: Implement status CB for amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 5/7] block/qcow2: Make get_refcount() global, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 6/7] block/qcow2: Simplify shared L2 handling in amend, Max Reitz, 2014/08/01
- [Qemu-devel] [PATCH v2 7/7] iotests: Expand test 061, Max Reitz, 2014/08/01