summaryrefslogtreecommitdiffstats
path: root/glusterfsd/src
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 /glusterfsd/src
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 'glusterfsd/src')
-rw-r--r--glusterfsd/src/glusterfsd-mgmt.c10
-rw-r--r--glusterfsd/src/glusterfsd.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c
index 3c8042312b1..20a05f1d628 100644
--- a/glusterfsd/src/glusterfsd-mgmt.c
+++ b/glusterfsd/src/glusterfsd-mgmt.c
@@ -944,9 +944,9 @@ out:
}
/* Function has 3types of return value 0, -ve , 1
- * return 0 =======> reconfiguration of options has succeded
+ * return 0 =======> reconfiguration of options has succeeded
* return 1 =======> the graph has to be reconstructed and all the xlators should be inited
- * return -1(or -ve) =======> Some Internal Error occured during the operation
+ * return -1(or -ve) =======> Some Internal Error occurred during the operation
*/
static int
glusterfs_volfile_reconfigure (FILE *newvolfile_fp)
@@ -1005,7 +1005,7 @@ glusterfs_volfile_reconfigure (FILE *newvolfile_fp)
if (!oldvolfile_graph) {
gf_log ("glusterfsd-mgmt", GF_LOG_ERROR,
- "glsuterfs_ctx->active is NULL");
+ "glusterfs_ctx->active is NULL");
goto out;
}
@@ -1077,9 +1077,9 @@ mgmt_getspec_cbk (struct rpc_req *req, struct iovec *iov, int count,
/* Check if only options have changed. No need to reload the
* volfile if topology hasn't changed.
* glusterfs_volfile_reconfigure returns 3 possible return states
- * return 0 =======> reconfiguration of options has succeded
+ * return 0 =======> reconfiguration of options has succeeded
* return 1 =======> the graph has to be reconstructed and all the xlators should be inited
- * return -1(or -ve) =======> Some Internal Error occured during the operation
+ * return -1(or -ve) =======> Some Internal Error occurred during the operation
*/
ret = glusterfs_volfile_reconfigure (tmpfp);
diff --git a/glusterfsd/src/glusterfsd.c b/glusterfsd/src/glusterfsd.c
index 2a114e2139d..d02c4b7a960 100644
--- a/glusterfsd/src/glusterfsd.c
+++ b/glusterfsd/src/glusterfsd.c
@@ -795,7 +795,7 @@ cleanup_and_exit (int signum)
exit (0);
#if 0
- /* TODO: Properly do cleanup_and_exit(), with synchronisations */
+ /* TODO: Properly do cleanup_and_exit(), with synchronization */
if (ctx->mgmt)
rpc_clnt_unref (ctx->mgmt);
@@ -834,7 +834,7 @@ reincarnate (int signum)
ret = glusterfs_volumes_init (ctx);
}
- /* Also, SIGHUP should do logroate */
+ /* Also, SIGHUP should do logrotate */
gf_log_logrotate (1);
if (ret < 0)
@@ -1139,7 +1139,7 @@ parse_cmdline (int argc, char *argv[], glusterfs_ctx_t *ctx)
if (((ret == 0) &&
(S_ISREG (stbuf.st_mode) || S_ISLNK (stbuf.st_mode))) ||
(ret == -1)) {
- /* Have seperate logfile per run */
+ /* Have separate logfile per run */
tm = localtime (&utime);
strftime (timestr, 256, "%Y%m%d.%H%M%S", tm);
sprintf (tmp_logfile, "%s.%s.%d",