2020-08-23 01:22:34

by Randy Dunlap

[permalink] [raw]
Subject: [PATCH] net: sunrpc: delete repeated words

Drop duplicate words in net/sunrpc/.
Also fix "Anyone" to be "Any one".

Signed-off-by: Randy Dunlap <[email protected]>
Cc: "J. Bruce Fields" <[email protected]>
Cc: Chuck Lever <[email protected]>
Cc: [email protected]
---
net/sunrpc/backchannel_rqst.c | 2 +-
net/sunrpc/xdr.c | 2 +-
net/sunrpc/xprtrdma/svc_rdma_rw.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)

--- linux-next-20200821.orig/net/sunrpc/backchannel_rqst.c
+++ linux-next-20200821/net/sunrpc/backchannel_rqst.c
@@ -111,7 +111,7 @@ out_free:
* by the backchannel. This function can be called multiple times
* when creating new sessions that use the same rpc_xprt. The
* preallocated buffers are added to the pool of resources used by
- * the rpc_xprt. Anyone of these resources may be used used by an
+ * the rpc_xprt. Any one of these resources may be used by an
* incoming callback request. It's up to the higher levels in the
* stack to enforce that the maximum number of session slots is not
* being exceeded.
--- linux-next-20200821.orig/net/sunrpc/xdr.c
+++ linux-next-20200821/net/sunrpc/xdr.c
@@ -658,7 +658,7 @@ EXPORT_SYMBOL_GPL(xdr_reserve_space);
* head, tail, and page lengths are adjusted to correspond.
*
* If this means moving xdr->p to a different buffer, we assume that
- * that the end pointer should be set to the end of the current page,
+ * the end pointer should be set to the end of the current page,
* except in the case of the head buffer when we assume the head
* buffer's current length represents the end of the available buffer.
*
--- linux-next-20200821.orig/net/sunrpc/xprtrdma/svc_rdma_rw.c
+++ linux-next-20200821/net/sunrpc/xprtrdma/svc_rdma_rw.c
@@ -137,7 +137,7 @@ static int svc_rdma_rw_ctx_init(struct s
}

/* A chunk context tracks all I/O for moving one Read or Write
- * chunk. This is a a set of rdma_rw's that handle data movement
+ * chunk. This is a set of rdma_rw's that handle data movement
* for all segments of one chunk.
*
* These are small, acquired with a single allocator call, and


2020-08-25 19:09:43

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [PATCH] net: sunrpc: delete repeated words

Applied, thanks.--b.

On Sat, Aug 22, 2020 at 06:07:38PM -0700, Randy Dunlap wrote:
> Drop duplicate words in net/sunrpc/.
> Also fix "Anyone" to be "Any one".
>
> Signed-off-by: Randy Dunlap <[email protected]>
> Cc: "J. Bruce Fields" <[email protected]>
> Cc: Chuck Lever <[email protected]>
> Cc: [email protected]
> ---
> net/sunrpc/backchannel_rqst.c | 2 +-
> net/sunrpc/xdr.c | 2 +-
> net/sunrpc/xprtrdma/svc_rdma_rw.c | 2 +-
> 3 files changed, 3 insertions(+), 3 deletions(-)
>
> --- linux-next-20200821.orig/net/sunrpc/backchannel_rqst.c
> +++ linux-next-20200821/net/sunrpc/backchannel_rqst.c
> @@ -111,7 +111,7 @@ out_free:
> * by the backchannel. This function can be called multiple times
> * when creating new sessions that use the same rpc_xprt. The
> * preallocated buffers are added to the pool of resources used by
> - * the rpc_xprt. Anyone of these resources may be used used by an
> + * the rpc_xprt. Any one of these resources may be used by an
> * incoming callback request. It's up to the higher levels in the
> * stack to enforce that the maximum number of session slots is not
> * being exceeded.
> --- linux-next-20200821.orig/net/sunrpc/xdr.c
> +++ linux-next-20200821/net/sunrpc/xdr.c
> @@ -658,7 +658,7 @@ EXPORT_SYMBOL_GPL(xdr_reserve_space);
> * head, tail, and page lengths are adjusted to correspond.
> *
> * If this means moving xdr->p to a different buffer, we assume that
> - * that the end pointer should be set to the end of the current page,
> + * the end pointer should be set to the end of the current page,
> * except in the case of the head buffer when we assume the head
> * buffer's current length represents the end of the available buffer.
> *
> --- linux-next-20200821.orig/net/sunrpc/xprtrdma/svc_rdma_rw.c
> +++ linux-next-20200821/net/sunrpc/xprtrdma/svc_rdma_rw.c
> @@ -137,7 +137,7 @@ static int svc_rdma_rw_ctx_init(struct s
> }
>
> /* A chunk context tracks all I/O for moving one Read or Write
> - * chunk. This is a a set of rdma_rw's that handle data movement
> + * chunk. This is a set of rdma_rw's that handle data movement
> * for all segments of one chunk.
> *
> * These are small, acquired with a single allocator call, and