[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20131202145101.GE1960@fieldses.org>
Date: Mon, 2 Dec 2013 09:51:01 -0500
From: "J. Bruce Fields" <bfields@...ldses.org>
To: Weng Meiling <wengmeiling.weng@...wei.com>
Cc: linux-nfs@...r.kernel.org, linux-kernel@...r.kernel.org,
netdev@...r.kernel.org, Trond.Myklebust@...app.com,
davem@...emloft.net, Li Zefan <lizefan@...wei.com>,
Huang Qiang <h.huangqiang@...wei.com>
Subject: Re: [PATCH] sunrpc: fix some typos
Thanks, applying.--b.
On Sat, Nov 30, 2013 at 05:56:44PM +0800, Weng Meiling wrote:
>
> From: Weng Meiling <wengmeiling.weng@...wei.com>
>
> Signed-off-by: Weng Meiling <wengmeiling.weng@...wei.com>
> ---
> include/linux/sunrpc/svc.h | 2 +-
> net/sunrpc/xprtsock.c | 7 +++----
> 2 files changed, 4 insertions(+), 5 deletions(-)
>
> diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
> index 6eecfc2..b6316423 100644
> --- a/include/linux/sunrpc/svc.h
> +++ b/include/linux/sunrpc/svc.h
> @@ -368,7 +368,7 @@ struct svc_program {
> struct svc_program * pg_next; /* other programs (same xprt) */
> u32 pg_prog; /* program number */
> unsigned int pg_lovers; /* lowest version */
> - unsigned int pg_hivers; /* lowest version */
> + unsigned int pg_hivers; /* highest version */
> unsigned int pg_nvers; /* number of versions */
> struct svc_version ** pg_vers; /* version array */
> char * pg_name; /* service name */
> diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
> index dd9d295..0f4f391 100644
> --- a/net/sunrpc/xprtsock.c
> +++ b/net/sunrpc/xprtsock.c
> @@ -2932,10 +2932,9 @@ static struct rpc_xprt *xs_setup_bc_tcp(struct xprt_create *args)
>
> /*
> * Once we've associated a backchannel xprt with a connection,
> - * we want to keep it around as long as long as the connection
> - * lasts, in case we need to start using it for a backchannel
> - * again; this reference won't be dropped until bc_xprt is
> - * destroyed.
> + * we want to keep it around as long as the connection lasts,
> + * in case we need to start using it for a backchannel again;
> + * this reference won't be dropped until bc_xprt is destroyed.
> */
> xprt_get(xprt);
> args->bc_xprt->xpt_bc_xprt = xprt;
> --
> 1.8.3
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists