From 51a78ad316975763d45c11affa571892e03643e8 Mon Sep 17 00:00:00 2001 From: Harshavardhana Date: Tue, 15 Nov 2011 14:44:24 -0800 Subject: 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 Reviewed-on: http://review.gluster.com/731 Tested-by: Gluster Build System Reviewed-by: Amar Tumballi Reviewed-by: Vijay Bellur --- glusterfsd/src/glusterfsd-mgmt.c | 10 +++++----- glusterfsd/src/glusterfsd.c | 6 +++--- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'glusterfsd') diff --git a/glusterfsd/src/glusterfsd-mgmt.c b/glusterfsd/src/glusterfsd-mgmt.c index 3c8042312..20a05f1d6 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 2a114e213..d02c4b7a9 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", -- cgit