aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWeng Meiling <wengmeiling.weng@huawei.com>2013-11-30 04:56:44 -0500
committerJ. Bruce Fields <bfields@redhat.com>2013-12-10 20:37:48 -0500
commit28303ca3090c0aa0dbbb72714c51fceb4b939f6d (patch)
tree46d6e217941a8e18fa466c65e7714bc951a56414
parent2d8498dbf8041c51ca49a0be6be594501638e591 (diff)
sunrpc: fix some typos
Signed-off-by: Weng Meiling <wengmeiling.weng@huawei.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
-rw-r--r--include/linux/sunrpc/svc.h2
-rw-r--r--net/sunrpc/xprtsock.c7
2 files changed, 4 insertions, 5 deletions
diff --git a/include/linux/sunrpc/svc.h b/include/linux/sunrpc/svc.h
index 6eecfc2e4f98..b631642318c5 100644
--- a/include/linux/sunrpc/svc.h
+++ b/include/linux/sunrpc/svc.h
@@ -368,7 +368,7 @@ struct svc_program {
368 struct svc_program * pg_next; /* other programs (same xprt) */ 368 struct svc_program * pg_next; /* other programs (same xprt) */
369 u32 pg_prog; /* program number */ 369 u32 pg_prog; /* program number */
370 unsigned int pg_lovers; /* lowest version */ 370 unsigned int pg_lovers; /* lowest version */
371 unsigned int pg_hivers; /* lowest version */ 371 unsigned int pg_hivers; /* highest version */
372 unsigned int pg_nvers; /* number of versions */ 372 unsigned int pg_nvers; /* number of versions */
373 struct svc_version ** pg_vers; /* version array */ 373 struct svc_version ** pg_vers; /* version array */
374 char * pg_name; /* service name */ 374 char * pg_name; /* service name */
diff --git a/net/sunrpc/xprtsock.c b/net/sunrpc/xprtsock.c
index dd9d295813cf..0f4f39174a70 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)
2932 2932
2933 /* 2933 /*
2934 * Once we've associated a backchannel xprt with a connection, 2934 * Once we've associated a backchannel xprt with a connection,
2935 * we want to keep it around as long as long as the connection 2935 * we want to keep it around as long as the connection lasts,
2936 * lasts, in case we need to start using it for a backchannel 2936 * in case we need to start using it for a backchannel again;
2937 * again; this reference won't be dropped until bc_xprt is 2937 * this reference won't be dropped until bc_xprt is destroyed.
2938 * destroyed.
2939 */ 2938 */
2940 xprt_get(xprt); 2939 xprt_get(xprt);
2941 args->bc_xprt->xpt_bc_xprt = xprt; 2940 args->bc_xprt->xpt_bc_xprt = xprt;