qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH V2 2/4] block: make path_hash_protocol public.


From: Eric Blake
Subject: Re: [Qemu-devel] [PATCH V2 2/4] block: make path_hash_protocol public.
Date: Mon, 28 Jan 2013 10:56:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 01/28/2013 10:04 AM, Benoît Canet wrote:
> Signed-off-by: Benoit Canet <address@hidden>
> ---
>  block.c               |    2 +-
>  include/block/block.h |    1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)

s/hash/has/ in the subject line.


>  /* check if the path starts with "<protocol>:" */
> -static int path_has_protocol(const char *path)
> +int path_has_protocol(const char *path)
>  {

While you are touching this function, does it make sense to change it to
return 'bool' instead of 'int'?

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