qemu-block
[Top][All Lists]
Advanced

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

Re: [Qemu-block] [PATCH 6/8] qcow2: make qcow2_cache_put() a void functi


From: Max Reitz
Subject: Re: [Qemu-block] [PATCH 6/8] qcow2: make qcow2_cache_put() a void function
Date: Mon, 11 May 2015 15:12:35 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

On 11.05.2015 14:54, Alberto Garcia wrote:
This function never receives an invalid table pointer, so we can make
it void and remove all the error checking code.

Signed-off-by: Alberto Garcia <address@hidden>
Reviewed-by: Stefan Hajnoczi <address@hidden>
---
  block/qcow2-cache.c    |  7 +------
  block/qcow2-cluster.c  | 50 ++++++++++----------------------------------------
  block/qcow2-refcount.c | 29 +++++------------------------
  block/qcow2.h          |  2 +-
  4 files changed, 17 insertions(+), 71 deletions(-)

Reviewed-by: Max Reitz <address@hidden>



reply via email to

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