[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_alloca
From: |
Kevin Wolf |
Subject: |
Re: [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_allocate |
Date: |
Fri, 27 Sep 2013 11:38:20 +0200 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Am 25.09.2013 um 16:37 hat Max Reitz geschrieben:
> Errors in l2_allocate should always go down the error path. If this path
> is taken, the newly allocated L2 cluster is abandoned and should thus be
> freed. The L2 table on the other hand should only be put back into the
> cache if it was taken from it before.
>
> Max Reitz (3):
> qcow2: Don't put invalid L2 table into cache
> qcow2: Free allocated L2 cluster on error
> qcow2: Always use error path in l2_allocate
>
> block/qcow2-cluster.c | 15 +++++++++++----
> 1 file changed, 11 insertions(+), 4 deletions(-)
Thanks, applied all to the block branch.
Kevin