On 02/18/2013 07:09 AM, Wenchao Xia wrote:
>   This function should return bool instead of int, just as
> bdrv_can_read_snapshot().
> 
> Signed-off-by: Wenchao Xia <[email protected]>
> ---
>  block.c               |    8 ++++----
>  include/block/block.h |    2 +-
>  2 files changed, 5 insertions(+), 5 deletions(-)

I checked that all existing callers only used the function in a boolean
context.

Reviewed-by: Eric Blake <[email protected]>

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