summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-transport
diff options
context:
space:
mode:
authorHarshavardhana <fharshav@redhat.com>2011-11-15 14:44:24 -0800
committerVijay Bellur <vijay@gluster.com>2011-11-16 21:08:56 -0800
commit51a78ad316975763d45c11affa571892e03643e8 (patch)
tree9406dee3a6139ebd9624fafd92af0a156d531fcf /rpc/rpc-transport
parent8c182c6bf700cdc8a7e2d4b75109ad0acee2e70d (diff)
glusterfs: An effort to fix all the spell mistakes and typo
in the entire glusterfs codebase. This patch fixes many of spell mistakes and typo in the entire glusterfs codebase and all supported modules. Change-Id: I83238a41aa08118df3cf4d1d605505dd3cda35a1 BUG: 3809 Signed-off-by: Harshavardhana <fharshav@redhat.com> Reviewed-on: http://review.gluster.com/731 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Amar Tumballi <amar@gluster.com> Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc/rpc-transport')
-rw-r--r--rpc/rpc-transport/rdma/src/name.c2
-rw-r--r--rpc/rpc-transport/rdma/src/rdma.c2
-rw-r--r--rpc/rpc-transport/socket/src/name.c4
-rw-r--r--rpc/rpc-transport/socket/src/socket.c4
4 files changed, 6 insertions, 6 deletions
diff --git a/rpc/rpc-transport/rdma/src/name.c b/rpc/rpc-transport/rdma/src/name.c
index 5d6c81d5f04..702c8a86a6b 100644
--- a/rpc/rpc-transport/rdma/src/name.c
+++ b/rpc/rpc-transport/rdma/src/name.c
@@ -95,7 +95,7 @@ af_unix_client_bind (rpc_transport_t *this,
char *path = data_to_str (path_data);
if (!path || strlen (path) > UNIX_PATH_MAX) {
gf_log (this->name, GF_LOG_DEBUG,
- "transport.rdma.bind-path not specfied "
+ "transport.rdma.bind-path not specified "
"for unix socket, letting connect to assign "
"default value");
goto err;
diff --git a/rpc/rpc-transport/rdma/src/rdma.c b/rpc/rpc-transport/rdma/src/rdma.c
index a3f6e3f59c0..6a83a3e447b 100644
--- a/rpc/rpc-transport/rdma/src/rdma.c
+++ b/rpc/rpc-transport/rdma/src/rdma.c
@@ -3317,7 +3317,7 @@ rdma_recv_completion_proc (void *data)
/*
* keep a refcount on transport so that it
- * doesnot get freed because of some error
+ * does not get freed because of some error
* indicated by wc.status till we are done
* with usage of peer and thereby that of trans.
*/
diff --git a/rpc/rpc-transport/socket/src/name.c b/rpc/rpc-transport/socket/src/name.c
index 8de1c5fcd42..bed59d58b70 100644
--- a/rpc/rpc-transport/socket/src/name.c
+++ b/rpc/rpc-transport/socket/src/name.c
@@ -96,7 +96,7 @@ af_unix_client_bind (rpc_transport_t *this,
char *path = data_to_str (path_data);
if (!path || strlen (path) > UNIX_PATH_MAX) {
gf_log (this->name, GF_LOG_TRACE,
- "bind-path not specfied for unix socket, "
+ "bind-path not specified for unix socket, "
"letting connect to assign default value");
goto err;
}
@@ -112,7 +112,7 @@ af_unix_client_bind (rpc_transport_t *this,
}
} else {
gf_log (this->name, GF_LOG_TRACE,
- "bind-path not specfied for unix socket, "
+ "bind-path not specified for unix socket, "
"letting connect to assign default value");
}
diff --git a/rpc/rpc-transport/socket/src/socket.c b/rpc/rpc-transport/socket/src/socket.c
index 089afb573d5..0fd031d8912 100644
--- a/rpc/rpc-transport/socket/src/socket.c
+++ b/rpc/rpc-transport/socket/src/socket.c
@@ -318,7 +318,7 @@ __socket_server_bind (rpc_transport_t *this)
strerror (errno));
}
- //reuse-address doesnt work for unix type sockets
+ /* reuse-address doesn't work for unix type sockets */
if (AF_UNIX == SA (&this->myinfo.sockaddr)->sa_family) {
memcpy (&unix_addr, SA (&this->myinfo.sockaddr),
this->myinfo.sockaddr_len);
@@ -2160,7 +2160,7 @@ socket_listen (rpc_transport_t *this)
if (sock != -1) {
gf_log_callingfn (this->name, GF_LOG_DEBUG,
- "alreading listening");
+ "already listening");
return ret;
}