diff options
| author | Patrick Matthäi <pmatthaei@debian.org> | 2017-03-31 12:27:20 +0200 | 
|---|---|---|
| committer | Kaleb KEITHLEY <kkeithle@redhat.com> | 2017-04-02 21:36:51 -0400 | 
| commit | 826152055ff732b9c71f7766e0e197263b9fce95 (patch) | |
| tree | 803a60c958ca33454aa6472b7d338a096a63f97c | |
| parent | dc4aa17e617b21d9faa00dc5048e3396bde63d95 (diff) | |
build: miscellaneous spelling fixes
Debian builds detected spelling issues with GlusterFS 3.10.1. Instead of
carrying the patch in the Debian sources, let's include the fixes here
too.
Change-Id: I38db6adf142f7ec247bffd47aa1e6ff1a0c49e00
Reviewed-on-master: https://review.gluster.org/16973
Reported-by: Patrick Matthäi <pmatthaei@debian.org>
BUG: 1437854
Signed-off-by: Niels de Vos <ndevos@redhat.com>
Reviewed-on: https://review.gluster.org/16974
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Zhou Zhengping <johnzzpcrystal@gmail.com>
Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com>
| -rw-r--r-- | cli/src/cli.c | 2 | ||||
| -rw-r--r-- | events/src/glustereventsd.py | 2 | ||||
| -rw-r--r-- | xlators/cluster/ec/src/ec-code.c | 2 | ||||
| -rw-r--r-- | xlators/performance/md-cache/src/md-cache.c | 10 | ||||
| -rw-r--r-- | xlators/protocol/client/src/client-callback.c | 2 | 
5 files changed, 9 insertions, 9 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c index 1710724abd6..c9c578f253c 100644 --- a/cli/src/cli.c +++ b/cli/src/cli.c @@ -380,7 +380,7 @@ cli_opt_parse (char *opt, struct cli_state *state)          oarg = strtail (opt, "timeout=");          if (oarg) {                  if (!is_valid_int (oarg) || atoi(oarg) <= 0) { -                        cli_err ("timeout value should be a postive integer"); +                        cli_err ("timeout value should be a positive integer");                          return -2; /* -2 instead of -1 to avoid unknown option                                        error */                  } diff --git a/events/src/glustereventsd.py b/events/src/glustereventsd.py index 4b56eee9131..918c56b6a92 100644 --- a/events/src/glustereventsd.py +++ b/events/src/glustereventsd.py @@ -59,7 +59,7 @@ class GlusterEventsRequestHandler(SocketServer.BaseRequestHandler):          try:              # Event Type to Function Map, Recieved event data will be in              # the form <TIMESTAMP> <TYPE> <DETAIL>, Get Event name for the -            # recieved Type/Key and construct a function name starting with +            # received Type/Key and construct a function name starting with              # handle_ For example: handle_event_volume_create              func_name = "handle_" + all_events[int(key)].lower()          except IndexError: diff --git a/xlators/cluster/ec/src/ec-code.c b/xlators/cluster/ec/src/ec-code.c index 7b5d53d0a37..44957dd788f 100644 --- a/xlators/cluster/ec/src/ec-code.c +++ b/xlators/cluster/ec/src/ec-code.c @@ -1032,7 +1032,7 @@ ec_code_detect(xlator_t *xl, const char *def)      if (file.error) {          gf_msg(xl->name, GF_LOG_WARNING, 0, EC_MSG_EXTENSION_FAILED, -               "Unable to detemine supported CPU extensions. Not using any " +               "Unable to determine supported CPU extensions. Not using any "                 "cpu extensions");          gen = NULL; diff --git a/xlators/performance/md-cache/src/md-cache.c b/xlators/performance/md-cache/src/md-cache.c index cbbe8c20ee2..b6969cda56e 100644 --- a/xlators/performance/md-cache/src/md-cache.c +++ b/xlators/performance/md-cache/src/md-cache.c @@ -38,8 +38,8 @@ struct mdc_statistics {          uint64_t negative_lookup; /* No. of negative lookups */          uint64_t nameless_lookup; /* No. of negative lookups that were sent                                       sent to bricks */ -        uint64_t stat_invals; /* No. of invalidates recieved from upcall*/ -        uint64_t xattr_invals; /* No. of invalidates recieved from upcall*/ +        uint64_t stat_invals; /* No. of invalidates received from upcall*/ +        uint64_t xattr_invals; /* No. of invalidates received from upcall*/          uint64_t need_lookup; /* No. of lookups issued, because other xlators                                 * requested for explicit lookup */          gf_lock_t lock; @@ -682,7 +682,7 @@ mdc_inode_xatt_set (xlator_t *this, inode_t *inode, dict_t *dict)          LOCK (&mdc->lock);          {                  if (mdc->xattr) { -                        gf_msg_trace ("md-cache", 0, "deleteing the old xattr " +                        gf_msg_trace ("md-cache", 0, "deleting the old xattr "                                "cache (%s)", uuid_utoa (inode->gfid));                          dict_unref (mdc->xattr);  			mdc->xattr = NULL; @@ -2597,9 +2597,9 @@ mdc_priv_dump (xlator_t *this)                             conf->mdc_counter.nameless_lookup);          gf_proc_dump_write("negative_lookup_count", "%"PRId64,                             conf->mdc_counter.negative_lookup); -        gf_proc_dump_write("stat_invalidations_recieved", "%"PRId64, +        gf_proc_dump_write("stat_invalidations_received", "%"PRId64,                             conf->mdc_counter.stat_invals); -        gf_proc_dump_write("xattr_invalidations_recieved", "%"PRId64, +        gf_proc_dump_write("xattr_invalidations_received", "%"PRId64,                             conf->mdc_counter.xattr_invals);          return 0; diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c index 23bd67ef12b..51164e57230 100644 --- a/xlators/protocol/client/src/client-callback.c +++ b/xlators/protocol/client/src/client-callback.c @@ -115,7 +115,7 @@ client_cbk_cache_invalidation (struct rpc_clnt *rpc, void *mydata, void *data)          if (ret < 0)                  goto out; -        gf_msg_trace (THIS->name, 0, "Cache invalidation cbk recieved for gfid:" +        gf_msg_trace (THIS->name, 0, "Cache invalidation cbk received for gfid:"                        " %s, ret = %d", ca_req.gfid, ret);          default_notify (THIS, GF_EVENT_UPCALL, &upcall_data);  | 
