On 02/06/2013 05:31 AM, Benoît Canet wrote:
> Signed-off-by: Benoit Canet <ben...@irqsave.net>
> ---
>  block/qcow2-refcount.c |    6 +-----
>  block/qcow2.h          |    2 ++
>  2 files changed, 3 insertions(+), 5 deletions(-)
> 
> @@ -413,7 +409,7 @@ fail_block:
>  }
>  
>  /* XXX: cache several refcount block clusters ? */
> -static int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs,
> +int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs,
>      int64_t offset, int64_t length, int addend)

Fix the indentation while touching this.

>  {
>      BDRVQcowState *s = bs->opaque;
> diff --git a/block/qcow2.h b/block/qcow2.h
> index 0197a2b..8867091 100644
> --- a/block/qcow2.h
> +++ b/block/qcow2.h
> @@ -396,6 +396,8 @@ int qcow2_update_snapshot_refcount(BlockDriverState *bs,
>  
>  int qcow2_check_refcounts(BlockDriverState *bs, BdrvCheckResult *res,
>                            BdrvCheckMode fix);
> +int QEMU_WARN_UNUSED_RESULT update_refcount(BlockDriverState *bs,
> +    int64_t offset, int64_t length, int addend);

Indentation is off (second line should start after the '(' of the first
line; wrap to more than two lines if needed).

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to