* [PATCH] sunrpc: fix some typos
@ 2013-11-30 9:56 ` Weng Meiling
0 siblings, 0 replies; 3+ messages in thread
From: Weng Meiling @ 2013-11-30 9:56 UTC (permalink / raw)
To: linux-nfs, linux-kernel, netdev, J. Bruce Fields, Trond.Myklebust,
davem
Cc: Li Zefan, Huang Qiang
From: Weng Meiling <wengmeiling.weng@huawei.com>
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH] sunrpc: fix some typos
@ 2013-11-30 9:56 ` Weng Meiling
0 siblings, 0 replies; 3+ messages in thread
From: Weng Meiling @ 2013-11-30 9:56 UTC (permalink / raw)
To: linux-nfs-u79uwXL29TY76Z2rM5mHXA,
linux-kernel-u79uwXL29TY76Z2rM5mHXA,
netdev-u79uwXL29TY76Z2rM5mHXA, J. Bruce Fields,
Trond.Myklebust-HgOvQuBEEgTQT0dZR+AlfA,
davem-fT/PcQaiUtIeIZ0/mPfg9Q
Cc: Li Zefan, Huang Qiang
From: Weng Meiling <wengmeiling.weng-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
Signed-off-by: Weng Meiling <wengmeiling.weng-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
---
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 linux-nfs" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] sunrpc: fix some typos
2013-11-30 9:56 ` Weng Meiling
(?)
@ 2013-12-02 14:51 ` J. Bruce Fields
-1 siblings, 0 replies; 3+ messages in thread
From: J. Bruce Fields @ 2013-12-02 14:51 UTC (permalink / raw)
To: Weng Meiling
Cc: linux-nfs, linux-kernel, netdev, Trond.Myklebust, davem, Li Zefan,
Huang Qiang
Thanks, applying.--b.
On Sat, Nov 30, 2013 at 05:56:44PM +0800, Weng Meiling wrote:
>
> From: Weng Meiling <wengmeiling.weng@huawei.com>
>
> Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.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
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-12-02 14:51 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-30 9:56 [PATCH] sunrpc: fix some typos Weng Meiling
2013-11-30 9:56 ` Weng Meiling
2013-12-02 14:51 ` J. Bruce Fields
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.