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: Kevin Wolf
Subject: Re: [Qemu-devel] [PATCH V2 2/4] block: make path_hash_protocol public.
Date: Tue, 29 Jan 2013 13:12:56 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/20120605 Thunderbird/13.0

Am 28.01.2013 18:04, schrieb Benoît Canet:
> Signed-off-by: Benoit Canet <address@hidden>
> ---
>  block.c               |    2 +-
>  include/block/block.h |    1 +
>  2 files changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/block.c b/block.c
> index 41a9ac0..843583f 100644
> --- a/block.c
> +++ b/block.c
> @@ -195,7 +195,7 @@ static void bdrv_io_limits_intercept(BlockDriverState *bs,
>  }
>  
>  /* check if the path starts with "<protocol>:" */
> -static int path_has_protocol(const char *path)
> +int path_has_protocol(const char *path)

Please add a prefix when making the function public, like
bdrv_path_has_protocol().

Does it really need to be in block.h or would block_int.h suffice?

Kevin



reply via email to

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