summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKaleb S KEITHLEY <kkeithle@redhat.com>2016-05-17 10:14:02 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-05-18 06:55:02 -0700
commit2321e8968eadfc34fce3a0026aafc8fa18e0bbb5 (patch)
tree5d4424335b8cd6f8a8426c874f0da90a3a01ed06 /xlators
parenta8a44316f435b33f54ef06e4ffba085bd0739a12 (diff)
core: assorted typos and spelling mistakes reported by Debian lintian
Also missing bang (!) in #!/bin/bash in shell scripts. Backport of > http://review.gluster.org/#/c/14398/ > BUG: 1336793 > Change-Id: I567a4be8f0f31f6285550f243fe802895f6bc43b Change-Id: I003554daede9937a41010e085c74e77957c5c608 BUG: 1336794 Reported-by: Patrick Matthäi <pmatthaei@debian.org> Signed-off-by: Kaleb S KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/14400 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.com> CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/ec/src/ec-common.c2
-rw-r--r--xlators/features/changetimerecorder/src/changetimerecorder.c2
-rw-r--r--xlators/features/changetimerecorder/src/ctr-xlator-ctx.c4
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-quota.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rebalance.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rpc-ops.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-set.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/xlators/cluster/ec/src/ec-common.c b/xlators/cluster/ec/src/ec-common.c
index 744670bcb6c..009fad2f896 100644
--- a/xlators/cluster/ec/src/ec-common.c
+++ b/xlators/cluster/ec/src/ec-common.c
@@ -456,7 +456,7 @@ int32_t ec_child_select(ec_fop_data_t * fop)
{
gf_msg (ec->xl->name, GF_LOG_ERROR, 0,
EC_MSG_CHILDS_INSUFFICIENT,
- "Insufficient available childs "
+ "Insufficient available children "
"for this request (have %d, need "
"%d)", num, fop->minimum);
diff --git a/xlators/features/changetimerecorder/src/changetimerecorder.c b/xlators/features/changetimerecorder/src/changetimerecorder.c
index d339189edb8..95ce08fea2b 100644
--- a/xlators/features/changetimerecorder/src/changetimerecorder.c
+++ b/xlators/features/changetimerecorder/src/changetimerecorder.c
@@ -2056,7 +2056,7 @@ init (xlator_t *this)
if (!priv) {
gf_msg (this->name, GF_LOG_ERROR, ENOMEM,
CTR_MSG_CALLOC_FAILED,
- "Calloc didnt work!!!");
+ "Calloc did not work!!!");
goto error;
}
diff --git a/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c b/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
index c5900eac929..7700ad40ba6 100644
--- a/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
+++ b/xlators/features/changetimerecorder/src/ctr-xlator-ctx.c
@@ -156,7 +156,7 @@ ctr_delete_hard_link (xlator_t *this,
if (!ctr_hard_link) {
gf_msg (this->name, GF_LOG_ERROR, 0,
CTR_MSG_HARDLINK_MISSING_IN_LIST,
- "Hard link doesnt exist in the list");
+ "Hard link doesn't exist in the list");
goto out;
}
@@ -195,7 +195,7 @@ ctr_update_hard_link (xlator_t *this,
ctr_hard_link = ctr_search_hard_link_ctx (this, ctr_xlator_ctx,
old_pgfid, old_base_name);
if (!ctr_hard_link) {
- gf_msg_trace (this->name, 0, "Hard link doesnt exist"
+ gf_msg_trace (this->name, 0, "Hard link doesn't exist"
" in the list");
/* Since the hard link is not present in the list
* we add it to the list */
diff --git a/xlators/mgmt/glusterd/src/glusterd-quota.c b/xlators/mgmt/glusterd/src/glusterd-quota.c
index 4390eaab3e6..55699cc57a9 100644
--- a/xlators/mgmt/glusterd/src/glusterd-quota.c
+++ b/xlators/mgmt/glusterd/src/glusterd-quota.c
@@ -2047,7 +2047,7 @@ glusterd_op_stage_quota (dict_t *dict, char **op_errstr, dict_t *rsp_dict)
if (ret) {
gf_msg (this->name, GF_LOG_ERROR, 0,
GD_MSG_DICT_GET_FAILED,
- "Faild to get hard-limit from dict");
+ "Failed to get hard-limit from dict");
goto out;
}
ret = gf_string2bytesize_int64 (hard_limit_str, &hard_limit);
diff --git a/xlators/mgmt/glusterd/src/glusterd-rebalance.c b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
index 60d1b204da5..cd63ed3bda6 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rebalance.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rebalance.c
@@ -1104,7 +1104,7 @@ glusterd_defrag_event_notify_handle (dict_t *dict)
} else {
gf_msg (this->name, GF_LOG_ERROR, 0,
GD_MSG_NO_REBALANCE_PFX_IN_VOLNAME,
- "volname recieved (%s) is not prefixed with rebalance.",
+ "volname received (%s) is not prefixed with rebalance.",
volname);
ret = -1;
goto out;
diff --git a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
index 3068ba43396..f7e8cfe248c 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
@@ -419,7 +419,7 @@ out:
GLUSTERD_STACK_DESTROY (((call_frame_t *)myframe));
/* Attempt to start the state machine. Needed as no state machine could
- * be running at time this RPC reply was recieved
+ * be running at time this RPC reply was received
*/
if (!ret) {
glusterd_friend_sm ();
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-set.c b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
index e53e99739d2..0600290cbe0 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-set.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-set.c
@@ -2745,7 +2745,7 @@ struct volopt_map_entry glusterd_volopt_map[] = {
.description = "Its a Change Time Recorder Xlator option to "
"enable recording write heat on metadata of the file. "
"The default is disabled. "
- "Metadata is inode atttributes like atime, mtime,"
+ "Metadata is inode attributes like atime, mtime,"
" permissions etc and "
"extended attributes of a file ."
},