summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/features/changelog')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-helpers.c2
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-journal-handler.c2
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-reborp.c6
-rw-r--r--xlators/features/changelog/lib/src/gf-history-changelog.c2
-rw-r--r--xlators/features/changelog/src/changelog-helpers.c8
-rw-r--r--xlators/features/changelog/src/changelog.c2
6 files changed, 11 insertions, 11 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-helpers.c b/xlators/features/changelog/lib/src/gf-changelog-helpers.c
index 45cf55778e4..9ff1d135933 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-helpers.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-helpers.c
@@ -57,7 +57,7 @@ gf_rfc3986_encode_space_newline (unsigned char *s, char *enc, char *estr)
* that can be done via @fflush(fp), @ftruncate(fd) and @fseek(fp),
* but this involves mixing POSIX file descriptors and stream FILE *).
*
- * NOTE: This implmentation still does work with more than one fd's
+ * NOTE: This implementation still does work with more than one fd's
* used to perform gf_readline(). For this very reason it's not
* made a part of libglusterfs.
*/
diff --git a/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c b/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c
index 07de76e7cda..9c1a498f655 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-journal-handler.c
@@ -524,7 +524,7 @@ gf_changelog_publish (xlator_t *this,
(void) snprintf (to_path, PATH_MAX, "%s%s",
jnl->jnl_current_dir, basename (from_path));
- /* handle zerob file that wont exist in current */
+ /* handle zerob file that won't exist in current */
ret = sys_stat (to_path, &stbuf);
if (ret) {
if (errno == ENOENT)
diff --git a/xlators/features/changelog/lib/src/gf-changelog-reborp.c b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
index d1b3059a60c..f9fb8fcf01a 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-reborp.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
@@ -61,7 +61,7 @@ gf_changelog_connection_janitor (void *arg)
"brick=%s", entry->brick,
NULL);
- /* 0x0: disbale rpc-clnt */
+ /* 0x0: disable rpc-clnt */
rpc_clnt_disable (RPC_PROBER (entry));
/* 0x1: cleanup callback invoker thread */
@@ -155,7 +155,7 @@ gf_changelog_reborp_init_rpc_listner (xlator_t *this,
}
/**
- * This is dirty and painful as of now untill there is event filtering in the
+ * This is dirty and painful as of now until there is event filtering in the
* server. The entire event buffer is scanned and interested events are picked,
* whereas we _should_ be notified with the events we were interested in
* (selected at the time of probe). As of now this is complete BS and needs
@@ -283,7 +283,7 @@ orderfn (struct list_head *pos1, struct list_head *pos2)
void
queue_ordered_event (struct gf_event_list *ev, struct gf_event *event)
{
- /* add event to the ordered event list and wake up listner(s) */
+ /* add event to the ordered event list and wake up listener(s) */
pthread_mutex_lock (&ev->lock);
{
list_add_order (&event->list, &ev->events, orderfn);
diff --git a/xlators/features/changelog/lib/src/gf-history-changelog.c b/xlators/features/changelog/lib/src/gf-history-changelog.c
index 2f245a725f6..7b973b674a4 100644
--- a/xlators/features/changelog/lib/src/gf-history-changelog.c
+++ b/xlators/features/changelog/lib/src/gf-history-changelog.c
@@ -476,7 +476,7 @@ out:
/*
* Description: Checks if the changelog path is usable or not,
- * which is differenciated by checking for "changelog"
+ * which is differentiated by checking for "changelog"
* in the path and not "CHANGELOG".
*
* Returns:
diff --git a/xlators/features/changelog/src/changelog-helpers.c b/xlators/features/changelog/src/changelog-helpers.c
index 8bc994fa417..fb1ee06da2c 100644
--- a/xlators/features/changelog/src/changelog-helpers.c
+++ b/xlators/features/changelog/src/changelog-helpers.c
@@ -1172,7 +1172,7 @@ changelog_local_init (xlator_t *this, inode_t *inode,
/**
* We relax the presence of inode if @update_flag is true.
- * The caller (implmentation of the fop) needs to be careful to
+ * The caller (implementation of the fop) needs to be careful to
* not blindly use local->inode.
*/
if (!update_flag && !inode) {
@@ -1253,7 +1253,7 @@ changelog_drain_black_fops (xlator_t *this, changelog_priv_t *priv)
NULL);
while (priv->dm.black_fop_cnt > 0) {
gf_msg_debug (this->name, 0,
- "Condtional wait on black fops: %ld",
+ "Conditional wait on black fops: %ld",
priv->dm.black_fop_cnt);
priv->dm.drain_wait_black = _gf_true;
ret = pthread_cond_wait (&priv->dm.drain_black_cond,
@@ -1297,7 +1297,7 @@ changelog_drain_white_fops (xlator_t *this, changelog_priv_t *priv)
NULL);
while (priv->dm.white_fop_cnt > 0) {
gf_msg_debug (this->name, 0,
- "Condtional wait on white fops : %ld",
+ "Conditional wait on white fops : %ld",
priv->dm.white_fop_cnt);
priv->dm.drain_wait_white = _gf_true;
ret = pthread_cond_wait (&priv->dm.drain_white_cond,
@@ -1403,7 +1403,7 @@ changelog_rollover (void *data)
/* Adding delay of 1 second only during explicit rollover:
*
* Changelog rollover can happen either due to actual
- * or the explict rollover during snapshot. Actual
+ * or the explicit rollover during snapshot. Actual
* rollover is controlled by tuneable called 'rollover-time'.
* The minimum granularity for rollover-time is 1 second.
* Explicit rollover is asynchronous in nature and happens
diff --git a/xlators/features/changelog/src/changelog.c b/xlators/features/changelog/src/changelog.c
index 12997181da4..6d32de63db5 100644
--- a/xlators/features/changelog/src/changelog.c
+++ b/xlators/features/changelog/src/changelog.c
@@ -988,7 +988,7 @@ out:
return 0;
}
-/* creat */
+/* create */
int32_t
changelog_create_cbk (call_frame_t *frame,