summaryrefslogtreecommitdiffstats
path: root/xlators/nfs/server/src
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 /xlators/nfs/server/src
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 'xlators/nfs/server/src')
-rw-r--r--xlators/nfs/server/src/exports.c10
-rw-r--r--xlators/nfs/server/src/mount3.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/xlators/nfs/server/src/exports.c b/xlators/nfs/server/src/exports.c
index 7578058..671aa04 100644
--- a/xlators/nfs/server/src/exports.c
+++ b/xlators/nfs/server/src/exports.c
@@ -458,7 +458,7 @@ out:
*
* @dict : the dict to walk
* @key : the key in the dict we are currently on
- * @val : the value in the dict assocated with the key
+ * @val : the value in the dict associated with the key
* @tmp : Additional parameter data (not used)
*
* Passed as a function pointer to dict_foreach ().
@@ -479,7 +479,7 @@ __exp_item_print_walk (dict_t *dict, char *key, data_t *val, void *tmp)
*
* @dict : the dict to walk
* @key : the key in the dict we are currently on
- * @val : the value in the dict assocated with the key
+ * @val : the value in the dict associated with the key
* @tmp : Additional parameter data (not used)
*
* Passed as a function pointer to dict_foreach ().
@@ -765,7 +765,7 @@ __exp_line_ng_host_str_parse (char *str, struct export_item **exp_item)
*parens = '('; /* Restore the string */
- /* Options start at the parantheses */
+ /* Options start at the parentheses */
optstr = parens;
ret = __exp_line_opt_parse (optstr, &exp_opts);
@@ -996,7 +996,7 @@ out:
* it will point to a valid memory region that is allocated by
* this function.
* @check_ms: If this variable is set then we cross check the directory line
- * with whats in gluster's vol files and reject them if they don't
+ * with what's in gluster's vol files and reject them if they don't
* match.
*
* @return : success: GF_EXP_PARSE_SUCCESS
@@ -1200,7 +1200,7 @@ _exp_line_parse (const char *line, struct export_dir **dir,
gf_msg (GF_EXP, GF_LOG_WARNING, 0, NFS_MSG_PARSE_FAIL,
"Error parsing hosts for: %s", line);
/* If netgroups parsing failed, AND
- * host parsing failed, then theres something really
+ * host parsing failed, then there's something really
* wrong with this line, so we're just going to
* log it and fail out.
*/
diff --git a/xlators/nfs/server/src/mount3.c b/xlators/nfs/server/src/mount3.c
index 40244e9..472915f 100644
--- a/xlators/nfs/server/src/mount3.c
+++ b/xlators/nfs/server/src/mount3.c
@@ -373,7 +373,7 @@ out:
return ret;
}
-/* Overwrite the contents of the rwtab with te in-memory client list.
+/* Overwrite the contents of the rwtab with the in-memory client list.
* Fail gracefully if the stora_handle is not locked.
*/
static void