summaryrefslogtreecommitdiffstats
path: root/xlators/nfs
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/nfs')
-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 75780587147..671aa04ffcb 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 40244e9b794..472915fb067 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