qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH 1/2] raw-posix: Fix comment for raw_co_get_block


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH 1/2] raw-posix: Fix comment for raw_co_get_block_status()
Date: Wed, 12 Nov 2014 17:18:48 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/12/2014 01:27 PM, Markus Armbruster wrote:
> Missed in commit 705be72.
> 
> Signed-off-by: Markus Armbruster <address@hidden>
> ---
>  block/raw-posix.c | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Reviewed-by: Eric Blake <address@hidden>

> 
> diff --git a/block/raw-posix.c b/block/raw-posix.c
> index e100ae2..706d3c0 100644
> --- a/block/raw-posix.c
> +++ b/block/raw-posix.c
> @@ -1555,9 +1555,7 @@ static int try_seek_hole(BlockDriverState *bs, off_t 
> start, off_t *data,
>  }
>  
>  /*
> - * Returns true iff the specified sector is present in the disk image. 
> Drivers
> - * not implementing the functionality are assumed to not support backing 
> files,
> - * hence all their sectors are reported as allocated.
> + * Returns the allocation status of the specified sectors.
>   *
>   * If 'sector_num' is beyond the end of the disk image the return value is 0
>   * and 'pnum' is set to 0.
> 

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

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