qcow2: Small error path fixes for l2_allocate
Status from this message: Thanks, applied all to the block branch.
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | qcow2: Don't put invalid L2 table into cacheblock/ | +4 | 1 reply | |
| 2/3 | qcow2: Free allocated L2 cluster on errorblock/ | +4 | 4 replies | |
| 3/3 | qcow2: Always use error path in l2_allocateblock/ | +3 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Benoit Canet |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [Qemu-devel] [PATCH 0/3] qcow2: Small error path fixes for l2_allocate
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(-)
Signature · 1 line
1.8.3.1