summaryrefslogtreecommitdiffstats
path: root/xlators/cluster
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2017-06-01 06:56:22 -0400
committerNiels de Vos <ndevos@redhat.com>2017-06-02 11:50:43 +0000
commit07fd39479bdd6502f7781894be06eb66aaa8ef10 (patch)
treed86e95a8a39d5a223c09778ef8a0b329904089b7 /xlators/cluster
parent244daeb77b159c96fd7ecaac7eb1bea7b4bac23a (diff)
core: fix spelling errors
fixes for various minor spelling errors and typos Reported-by: Patrick Matthäi <pmatthaei@debian.org> Change-Id: Ic1be36f82e3d822bbdc9559878bd79520fc0fcd5 BUG: 1457808 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: https://review.gluster.org/17442 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Niels de Vos <ndevos@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/cluster')
-rw-r--r--xlators/cluster/dht/src/dht-shared.c2
-rw-r--r--xlators/cluster/ec/src/ec-helpers.c3
2 files changed, 2 insertions, 3 deletions
diff --git a/xlators/cluster/dht/src/dht-shared.c b/xlators/cluster/dht/src/dht-shared.c
index f84b40a8d91..d947ed401ec 100644
--- a/xlators/cluster/dht/src/dht-shared.c
+++ b/xlators/cluster/dht/src/dht-shared.c
@@ -431,7 +431,7 @@ dht_configure_throttle (xlator_t *this, dht_conf_t *conf, char *temp_str)
DHT_MSG_INVALID_OPTION,
"Invalid option: Reconfigure: "
"rebal-throttle should be {lazy|normal|aggressive}"
- " or a number upto number of cores available,"
+ " or a number up to number of cores available,"
" not (%s), defaulting to (%d)",
temp_str, conf->dthrottle);
ret = -1;
diff --git a/xlators/cluster/ec/src/ec-helpers.c b/xlators/cluster/ec/src/ec-helpers.c
index 4e9771f5308..64b010fc480 100644
--- a/xlators/cluster/ec/src/ec-helpers.c
+++ b/xlators/cluster/ec/src/ec-helpers.c
@@ -366,8 +366,7 @@ int32_t ec_dict_del_config(dict_t * dict, char * key, ec_config_t * config)
* instead of saying that it doesn't exist.
*
* We need to filter out this case and consider that a config xattr == 0 is
- * the same than a non-existant xattr. Otherwise ec_config_check() will
- * fail.
+ * the same as a non-existent xattr. Otherwise ec_config_check() will fail.
*/
if (data == 0) {
return -ENODATA;