From 621138ce763eda8270d0a4f6d7209fd50ada8787 Mon Sep 17 00:00:00 2001 From: Yaniv Kaul Date: Mon, 16 Jul 2018 17:03:17 +0300 Subject: 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 --- xlators/experimental/jbr-server/src/all-templates.c | 2 +- xlators/experimental/jbr-server/src/jbr.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/experimental/jbr-server') diff --git a/xlators/experimental/jbr-server/src/all-templates.c b/xlators/experimental/jbr-server/src/all-templates.c index 9720442e63f..530c4187571 100644 --- a/xlators/experimental/jbr-server/src/all-templates.c +++ b/xlators/experimental/jbr-server/src/all-templates.c @@ -416,7 +416,7 @@ jbr_@NAME@_complete (call_frame_t *frame, void *cookie, xlator_t *this, GF_VALIDATE_OR_GOTO (this->name, priv, err); GF_VALIDATE_OR_GOTO (this->name, local, err); - /* If the fop failed on the leader, then reduce one succesful ack + /* If the fop failed on the leader, then reduce one successful ack * before calculating the fop quorum */ LOCK(&frame->lock); diff --git a/xlators/experimental/jbr-server/src/jbr.c b/xlators/experimental/jbr-server/src/jbr.c index 68ec10a7e54..d76cf78030e 100644 --- a/xlators/experimental/jbr-server/src/jbr.c +++ b/xlators/experimental/jbr-server/src/jbr.c @@ -592,8 +592,8 @@ out: } /* - * Called from leader for locking fop, being writen as a separate * - * function so as to support queues. * + * Called from leader for locking fop, being written as a separate + * function so as to support queues. */ int32_t jbr_perform_lk_on_leader (call_frame_t *frame, xlator_t *this, -- cgit