summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport/socket/src/socket.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /rpc/rpc-transport/socket/src/socket.c
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
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 <ykaul@redhat.com>
Diffstat (limited to 'rpc/rpc-transport/socket/src/socket.c')
-rw-r--r--rpc/rpc-transport/socket/src/socket.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 3d0e22b88f9..3068b879802 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -3084,7 +3084,7 @@ socket_server_event_handler (int fd, int idx, int gen, void *data,
/* event_register() could have failed for some
* reason, implying that the new_sock cannot be
- * added to the epoll set. If we wont get any
+ * added to the epoll set. If we won't get any
* more notifications for new_sock from epoll,
* then we better remove the corresponding
* new_trans object from the RPCSVC service list.
@@ -3313,7 +3313,7 @@ socket_connect (rpc_transport_t *this, int port)
goto unlock;
}
- /* Cant help if setting socket options fails. We can continue
+ /* Can't help if setting socket options fails. We can continue
* working nonetheless.
*/
if (priv->windowsize != 0) {
@@ -3340,7 +3340,7 @@ socket_connect (rpc_transport_t *this, int port)
/* Make sure we are not vulnerable to someone setting
* net.ipv6.bindv6only to 1 so that gluster services are
- * avalable over IPv4 & IPv6.
+ * available over IPv4 & IPv6.
*/
#ifdef IPV6_DEFAULT
int disable_v6only = 0;
@@ -3562,7 +3562,7 @@ err:
/* Cleaup requires to send notification to upper layer which
intern holds the big_lock. There can be dead-lock situation
if big_lock is already held by the current thread.
- So transfer the ownership to seperate thread for cleanup.
+ So transfer the ownership to separate thread for cleanup.
*/
arg = GF_CALLOC (1, sizeof (*arg),
gf_sock_connect_error_state_t);
@@ -3645,7 +3645,7 @@ socket_listen (rpc_transport_t *this)
goto unlock;
}
- /* Cant help if setting socket options fails. We can continue
+ /* Can't help if setting socket options fails. We can continue
* working nonetheless.
*/
if (priv->windowsize != 0) {