[sheepdog] [PATCH 2/2] sockfd cache: fix a comment typo

MORITA Kazutaka morita.kazutaka at lab.ntt.co.jp
Mon Jul 23 12:25:13 CEST 2012


At Mon, 23 Jul 2012 17:47:28 +0800,
Liu Yuan wrote:
> 
> From: Liu Yuan <tailai.ly at taobao.com>
> 
> 
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
>  sheep/sockfd_cache.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/sheep/sockfd_cache.c b/sheep/sockfd_cache.c
> index aa90299..4e9f1bc 100644
> --- a/sheep/sockfd_cache.c
> +++ b/sheep/sockfd_cache.c
> @@ -325,7 +325,7 @@ static void sockfd_cache_put(struct node_id *nid, int idx)
>   *
>   * Try to get a 'long' FD as best, which is cached and never closed. If no FD
>   * available, we return a 'short' FD which is supposed to be closed by
> - * sheep_get_sockput().
> + * sheep_get_sockfd().

Shouldn't it be sheep_put_sockfd()?

Thanks,

Kazutaka



More information about the sheepdog mailing list