summaryrefslogtreecommitdiffstats
path: root/xlators/features/changelog/lib/src/gf-changelog-reborp.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /xlators/features/changelog/lib/src/gf-changelog-reborp.c
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/features/changelog/lib/src/gf-changelog-reborp.c')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-reborp.c6
1 files changed, 3 insertions, 3 deletions
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);