On 2014-11-15 at 17:50, Eric Blake wrote:
On 11/14/2014 06:05 AM, Max Reitz wrote:
Add a helper function for reallocating a refcount array, independently
s/independently/independent/
of the refcount order. The newly allocated space is zeroed and the
function handles failed reallocations grace
On 11/14/2014 06:05 AM, Max Reitz wrote:
> Add a helper function for reallocating a refcount array, independently
s/independently/independent/
> of the refcount order. The newly allocated space is zeroed and the
> function handles failed reallocations gracefully.
This patch is doing two things:
Add a helper function for reallocating a refcount array, independently
of the refcount order. The newly allocated space is zeroed and the
function handles failed reallocations gracefully.
Signed-off-by: Max Reitz
---
block/qcow2-refcount.c | 121 +