summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorAmar Tumballi <amar@gluster.com>2011-03-18 00:41:08 +0000
committerVijay Bellur <vijay@dev.gluster.com>2011-03-22 04:02:10 -0700
commit6167c66758de454284560474f3b4a893d8a69965 (patch)
treec3c4c392cd71d63ba05e4091ab98101bb460a032 /xlators
parentc0d8f11be283637622b0ece82ba8392f0a67e87c (diff)
spelling errors fixed across the code base
recieve -> receive maintainence -> maintenance verison -> version commited -> committed Signed-off-by: Amar Tumballi <amar@gluster.com> Signed-off-by: Vijay Bellur <vijay@dev.gluster.com> BUG: 2262 (Spelling errors in source) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2262
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-handler.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-op-sm.c50
-rw-r--r--xlators/nfs/server/src/nfs-fops.c2
-rw-r--r--xlators/performance/quick-read/src/quick-read.c2
4 files changed, 28 insertions, 28 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-handler.c b/xlators/mgmt/glusterd/src/glusterd-handler.c
index e4334af4dfb..aa37d93f0bb 100644
--- a/xlators/mgmt/glusterd/src/glusterd-handler.c
+++ b/xlators/mgmt/glusterd/src/glusterd-handler.c
@@ -1560,7 +1560,7 @@ glusterd_handle_replace_brick (rpcsvc_request_t *req)
break;
}
- gf_log ("glusterd", GF_LOG_NORMAL, "Recieved replace brick %s request", operation);
+ gf_log ("glusterd", GF_LOG_NORMAL, "Received replace brick %s request", operation);
gf_cmd_log ("Volume replace-brick","volname: %s src_brick:%s"
" dst_brick:%s op:%s",cli_req.volname, src_brick, dst_brick
,operation);
diff --git a/xlators/mgmt/glusterd/src/glusterd-op-sm.c b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
index 6a4ffea2a76..96a92f0f7f1 100644
--- a/xlators/mgmt/glusterd/src/glusterd-op-sm.c
+++ b/xlators/mgmt/glusterd/src/glusterd-op-sm.c
@@ -66,7 +66,7 @@ static char *glusterd_op_sm_state_names[] = {
"Stage op sent",
"Staged",
"Commit op sent",
- "Commited",
+ "Committed",
"Unlock sent",
"Stage op failed",
"Commit op failed",
@@ -2714,7 +2714,7 @@ out:
}
static int
-rb_destroy_maintainence_client (glusterd_volinfo_t *volinfo,
+rb_destroy_maintenance_client (glusterd_volinfo_t *volinfo,
glusterd_brickinfo_t *src_brickinfo)
{
glusterd_conf_t *priv = NULL;
@@ -2733,7 +2733,7 @@ rb_destroy_maintainence_client (glusterd_volinfo_t *volinfo,
ret = stat (mount_point_path, &buf);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "stat failed. Cannot destroy maintainence "
+ "stat failed. Cannot destroy maintenance "
"client");
goto out;
}
@@ -2745,7 +2745,7 @@ rb_destroy_maintainence_client (glusterd_volinfo_t *volinfo,
ret = gf_system (cmd_str);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "umount failed on maintainence client");
+ "umount failed on maintenance client");
goto out;
}
@@ -2774,8 +2774,8 @@ out:
}
static int
-rb_spawn_maintainence_client (glusterd_volinfo_t *volinfo,
- glusterd_brickinfo_t *src_brickinfo)
+rb_spawn_maintenance_client (glusterd_volinfo_t *volinfo,
+ glusterd_brickinfo_t *src_brickinfo)
{
int ret = -1;
@@ -2841,10 +2841,10 @@ rb_do_operation_start (glusterd_volinfo_t *volinfo,
gf_log ("", GF_LOG_DEBUG,
"replace-brick sending start xattr");
- ret = rb_spawn_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_spawn_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Could not spawn maintainence "
+ "Could not spawn maintenance "
"client");
goto out;
}
@@ -2866,10 +2866,10 @@ rb_do_operation_start (glusterd_volinfo_t *volinfo,
"Failed to send command to pump");
}
- ret = rb_destroy_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_destroy_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Failed to destroy maintainence "
+ "Failed to destroy maintenance "
"client");
goto out;
}
@@ -2892,10 +2892,10 @@ rb_do_operation_pause (glusterd_volinfo_t *volinfo,
gf_log ("", GF_LOG_NORMAL,
"replace-brick send pause xattr");
- ret = rb_spawn_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_spawn_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Could not spawn maintainence "
+ "Could not spawn maintenance "
"client");
goto out;
}
@@ -2912,10 +2912,10 @@ rb_do_operation_pause (glusterd_volinfo_t *volinfo,
}
- ret = rb_destroy_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_destroy_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Failed to destroy maintainence "
+ "Failed to destroy maintenance "
"client");
goto out;
}
@@ -2964,10 +2964,10 @@ rb_do_operation_abort (glusterd_volinfo_t *volinfo,
gf_log ("", GF_LOG_DEBUG,
"replace-brick sending abort xattr");
- ret = rb_spawn_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_spawn_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Could not spawn maintainence "
+ "Could not spawn maintenance "
"client");
goto out;
}
@@ -2983,10 +2983,10 @@ rb_do_operation_abort (glusterd_volinfo_t *volinfo,
"Failed to send command to pump");
}
- ret = rb_destroy_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_destroy_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Failed to destroy maintainence "
+ "Failed to destroy maintenance "
"client");
goto out;
}
@@ -3072,10 +3072,10 @@ rb_do_operation_status (glusterd_volinfo_t *volinfo,
origin = _gf_true;
if (origin) {
- ret = rb_spawn_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_spawn_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Could not spawn maintainence "
+ "Could not spawn maintenance "
"client");
goto out;
}
@@ -3111,10 +3111,10 @@ rb_do_operation_status (glusterd_volinfo_t *volinfo,
}
umount:
- ret = rb_destroy_maintainence_client (volinfo, src_brickinfo);
+ ret = rb_destroy_maintenance_client (volinfo, src_brickinfo);
if (ret) {
gf_log ("", GF_LOG_DEBUG,
- "Failed to destroy maintainence "
+ "Failed to destroy maintenance "
"client");
goto out;
}
@@ -3442,7 +3442,7 @@ glusterd_op_replace_brick (dict_t *dict, dict_t *rsp_dict)
case GF_REPLACE_OP_PAUSE:
{
gf_log ("", GF_LOG_DEBUG,
- "Recieved pause - doing nothing");
+ "Received pause - doing nothing");
ctx = glusterd_op_get_ctx (GD_OP_REPLACE_BRICK);
if (ctx) {
ret = rb_do_operation_pause (volinfo, src_brickinfo,
@@ -7373,7 +7373,7 @@ glusterd_op_sm_t glusterd_op_state_commit_op_sent [] = {
{GD_OP_STATE_COMMIT_OP_SENT, glusterd_op_ac_none}, //EVENT_MAX
};
-glusterd_op_sm_t glusterd_op_state_commited [] = {
+glusterd_op_sm_t glusterd_op_state_committed [] = {
{GD_OP_STATE_COMMITED, glusterd_op_ac_none}, //EVENT_NONE
{GD_OP_STATE_COMMITED, glusterd_op_ac_none},//EVENT_START_LOCK
{GD_OP_STATE_COMMITED, glusterd_op_ac_none}, //EVENT_LOCK
@@ -7415,7 +7415,7 @@ glusterd_op_sm_t *glusterd_op_state_table [] = {
glusterd_op_state_stage_op_sent,
glusterd_op_state_staged,
glusterd_op_state_commit_op_sent,
- glusterd_op_state_commited,
+ glusterd_op_state_committed,
glusterd_op_state_unlock_sent,
glusterd_op_state_stage_op_failed,
glusterd_op_state_commit_op_failed,
diff --git a/xlators/nfs/server/src/nfs-fops.c b/xlators/nfs/server/src/nfs-fops.c
index 068d08cf3b5..ff055aa51ca 100644
--- a/xlators/nfs/server/src/nfs-fops.c
+++ b/xlators/nfs/server/src/nfs-fops.c
@@ -293,7 +293,7 @@ out:
*
* nfs_<fopname>
* Unlike the nfs_fop_<fopname> variety, this is the stateful type of fop, in
- * that it silently performs all the relevant GlusterFS state maintainence
+ * that it silently performs all the relevant GlusterFS state maintenance
* operations on the data returned to the callbacks, leaving the caller's
* callback to just use the data returned for whatever it needs to do with that
* data, for eg. the nfs_lookup, will take care of looking up the inodes,
diff --git a/xlators/performance/quick-read/src/quick-read.c b/xlators/performance/quick-read/src/quick-read.c
index ee8730e76ff..044b00fd58d 100644
--- a/xlators/performance/quick-read/src/quick-read.c
+++ b/xlators/performance/quick-read/src/quick-read.c
@@ -731,7 +731,7 @@ qr_open (call_frame_t *frame, xlator_t *this, loc_t *loc, int32_t flags,
op_ret = -1;
op_errno = ENOTDIR;
gf_log (this->name, GF_LOG_WARNING,
- "open with O_DIRECTORY flag recieved on non-directory");
+ "open with O_DIRECTORY flag received on non-directory");
goto unwind;
}