From 621138ce763eda8270d0a4f6d7209fd50ada8787 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 16 Jul 2018 17:03:17 +0300 Subject: All: run codespell on the code and fix issues. Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul --- rpc/rpc-transport/rdma/src/name.c | 2 +- rpc/rpc-transport/rdma/src/rdma.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'rpc/rpc-transport/rdma') diff --git a/rpc/rpc-transport/rdma/src/name.c b/rpc/rpc-transport/rdma/src/name.c index 121960aab26..f132b9638f8 100644 --- a/rpc/rpc-transport/rdma/src/name.c +++ b/rpc/rpc-transport/rdma/src/name.c @@ -91,7 +91,7 @@ loop: port--; } - /* Incase if all the secure ports are exhausted, we are no more + /* In case if all the secure ports are exhausted, we are no more * binding to secure ports, hence instead of getting a random * port, lets define the range to restrict it from getting from * ports reserved for bricks i.e from range of 49152 - 65535 diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c index 1595be2e049..f1859a73bdf 100644 --- a/rpc/rpc-transport/rdma/src/rdma.c +++ b/rpc/rpc-transport/rdma/src/rdma.c @@ -4052,7 +4052,7 @@ gf_rdma_process_recv (gf_rdma_peer_t *peer, struct ibv_wc *wc) * have to account for the quota used while sending * first msg (which may or may not be returned to pool * at this point) while deriving peer.quota from - * header->rm_credit. Hence the arithmatic below, + * header->rm_credit. Hence the arithmetic below, * instead of directly setting it to header->rm_credit. */ priv->peer.quota = header->rm_credit -- cgit