summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/developer-guide/logging-guidelines.md2
-rw-r--r--xlators/performance/nl-cache/src/nl-cache.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/doc/developer-guide/logging-guidelines.md b/doc/developer-guide/logging-guidelines.md
index 58adf944b67..0e6b2588535 100644
--- a/doc/developer-guide/logging-guidelines.md
+++ b/doc/developer-guide/logging-guidelines.md
@@ -62,7 +62,7 @@ There are 2 interfaces provided to log messages,
headers (like the time stamp, dom, errnum etc.). The primary users of
the above interfaces are, when printing the final graph, or printing
the configuration when a process is about dump core or abort, or
- printing the backtrace when a process recieves a critical signal
+ printing the backtrace when a process receives a critical signal
- These interfaces should not be used outside the scope of the users
above, unless you know what you are doing
diff --git a/xlators/performance/nl-cache/src/nl-cache.c b/xlators/performance/nl-cache/src/nl-cache.c
index 6bbe63f7d96..cd0e1d195fd 100644
--- a/xlators/performance/nl-cache/src/nl-cache.c
+++ b/xlators/performance/nl-cache/src/nl-cache.c
@@ -604,7 +604,7 @@ nlc_priv_dump(xlator_t *this)
GF_ATOMIC_GET(conf->nlc_counter.pe_inode_cnt));
gf_proc_dump_write("inodes_with_negative_dentry_cache", "%" PRId64,
GF_ATOMIC_GET(conf->nlc_counter.ne_inode_cnt));
- gf_proc_dump_write("dentry_invalidations_recieved", "%" PRId64,
+ gf_proc_dump_write("dentry_invalidations_received", "%" PRId64,
GF_ATOMIC_GET(conf->nlc_counter.nlc_invals));
gf_proc_dump_write("cache_limit", "%" PRIu64, conf->cache_size);
gf_proc_dump_write("consumed_cache_size", "%" PRId64,
@@ -637,7 +637,7 @@ nlc_dump_metrics(xlator_t *this, int fd)
this->name, GF_ATOMIC_GET(conf->nlc_counter.pe_inode_cnt));
dprintf(fd, "%s.inodes_with_negative_dentry_cache %" PRId64 "\n",
this->name, GF_ATOMIC_GET(conf->nlc_counter.ne_inode_cnt));
- dprintf(fd, "%s.dentry_invalidations_recieved %" PRId64 "\n", this->name,
+ dprintf(fd, "%s.dentry_invalidations_received %" PRId64 "\n", this->name,
GF_ATOMIC_GET(conf->nlc_counter.nlc_invals));
dprintf(fd, "%s.cache_limit %" PRIu64 "\n", this->name, conf->cache_size);
dprintf(fd, "%s.consumed_cache_size %" PRId64 "\n", this->name,