Re: [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_allocate

2013-09-27 Thread Kevin Wolf
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 fr

[Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_allocate

2013-09-25 Thread Max Reitz
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 L