[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH] qcow2: Don't shadow return value
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH] qcow2: Don't shadow return value |
Date: |
Tue, 24 Sep 2013 16:59:45 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 24.09.2013 um 13:50 hat Max Reitz geschrieben:
> When trying to update the refcounts for a snapshot, the return value of
> update_refcount on a compressed cluster was pretty much ignored,
> cancelling the update on error but returning 0. This is caused by an
> inner "ret" variable shadowing the outer one (the latter is used in the
> return statement).
>
> Signed-off-by: Max Reitz <address@hidden>
Thanks, applied to the block branch.
Kevin