qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Max Reitz
Subject: [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_allocate
Date: Wed, 25 Sep 2013 16:37:17 +0200

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(-)

-- 
1.8.3.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]