diff options
author | Yaniv Kaul <ykaul@redhat.com> | 2018-07-16 17:03:17 +0300 |
---|---|---|
committer | Amar Tumballi <amarts@redhat.com> | 2018-07-22 14:40:16 +0000 |
commit | 621138ce763eda8270d0a4f6d7209fd50ada8787 (patch) | |
tree | 7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /xlators/protocol/server/src | |
parent | c0e76377d0fc47aa66f35ea70a4793731ebbd40c (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 'xlators/protocol/server/src')
-rw-r--r-- | xlators/protocol/server/src/authenticate.c | 2 | ||||
-rw-r--r-- | xlators/protocol/server/src/server-helpers.c | 4 | ||||
-rw-r--r-- | xlators/protocol/server/src/server-rpc-fops.c | 2 | ||||
-rw-r--r-- | xlators/protocol/server/src/server-rpc-fops_v2.c | 4 | ||||
-rw-r--r-- | xlators/protocol/server/src/server.c | 4 |
5 files changed, 8 insertions, 8 deletions
diff --git a/xlators/protocol/server/src/authenticate.c b/xlators/protocol/server/src/authenticate.c index c0007766f85..5163d465261 100644 --- a/xlators/protocol/server/src/authenticate.c +++ b/xlators/protocol/server/src/authenticate.c @@ -38,7 +38,7 @@ init (dict_t *this, char *key, data_t *value, void *data) PS_MSG_AUTHENTICATE_ERROR, "AUTHENTICATION MODULE " "\"IP\" HAS BEEN REPLACED BY \"ADDR\""); dict_set (this, key, data_from_dynptr (NULL, 0)); - /* TODO: 1.3.x backword compatibility */ + /* TODO: 1.3.x backward compatibility */ // *error = -1; // return; key = "addr"; diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c index 702856da216..f6fb32ed140 100644 --- a/xlators/protocol/server/src/server-helpers.c +++ b/xlators/protocol/server/src/server-helpers.c @@ -486,7 +486,7 @@ get_frame_from_request (rpcsvc_request_t *req) /* For nfs clients the server processes will be running within the trusted storage pool machines. So if we do not do root-squashing for nfs servers, thinking - that its a trusted client, then root-squashing wont + that its a trusted client, then root-squashing won't work for nfs clients. */ if (req->pid == NFS_PID) @@ -1345,7 +1345,7 @@ auth_set_username_passwd (dict_t *input_params, dict_t *config_params, gf_msg_debug ("auth/login", 0, "username not found, returning " "DONT-CARE"); /* For non trusted clients username and password - will not be there. So dont reject the client. + will not be there. So don't reject the client. */ ret = 0; goto out; diff --git a/xlators/protocol/server/src/server-rpc-fops.c b/xlators/protocol/server/src/server-rpc-fops.c index 30f288742a2..915e166223c 100644 --- a/xlators/protocol/server/src/server-rpc-fops.c +++ b/xlators/protocol/server/src/server-rpc-fops.c @@ -146,7 +146,7 @@ server_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, * It also might lead to wrong decisions being * taken if the future lookups on this inode are * successful since they are able to find the - * inode in the inode table (atleast gfid based + * inode in the inode table (at least gfid based * lookups will be successful, if the lookup * is a soft lookup) */ diff --git a/xlators/protocol/server/src/server-rpc-fops_v2.c b/xlators/protocol/server/src/server-rpc-fops_v2.c index ac6fb86c8cd..d1b2a55131b 100644 --- a/xlators/protocol/server/src/server-rpc-fops_v2.c +++ b/xlators/protocol/server/src/server-rpc-fops_v2.c @@ -131,7 +131,7 @@ server4_lookup_cbk (call_frame_t *frame, void *cookie, xlator_t *this, * It also might lead to wrong decisions being * taken if the future lookups on this inode are * successful since they are able to find the - * inode in the inode table (atleast gfid based + * inode in the inode table (at least gfid based * lookups will be successful, if the lookup * is a soft lookup) */ @@ -5645,7 +5645,7 @@ server4_0_icreate (rpcsvc_request_t *req) state->mode = args.mode; gf_asprintf (&state->resolve.bname, INODE_PATH_FMT, uuid_utoa (gfid)); - /* parent is an auxillary inode number */ + /* parent is an auxiliary inode number */ memset (state->resolve.pargfid, 0, sizeof (uuid_t)); state->resolve.pargfid[15] = GF_AUXILLARY_PARGFID; diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c index 35c14a39c6c..e4a5bdac1f5 100644 --- a/xlators/protocol/server/src/server.c +++ b/xlators/protocol/server/src/server.c @@ -360,7 +360,7 @@ _check_for_auth_option (dict_t *d, char *k, data_t *v, goto out; } - /* fast fwd thru module type */ + /* fast fwd through module type */ tail = strchr (tail, '.'); if (!tail) goto out; @@ -1146,7 +1146,7 @@ server_init (xlator_t *this) } glusterfs3_3_fop_prog.options = this->options; - /* make sure we register the fop prgram at the head to optimize + /* make sure we register the fop program at the head to optimize * lookup */ ret = rpcsvc_program_register (conf->rpc, &glusterfs3_3_fop_prog, |