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/cluster/stripe/src/stripe-helpers.c | 2 +- xlators/cluster/stripe/src/stripe.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'xlators/cluster/stripe/src') diff --git a/xlators/cluster/stripe/src/stripe-helpers.c b/xlators/cluster/stripe/src/stripe-helpers.c index 217f4d2b6e8..06568389cc2 100644 --- a/xlators/cluster/stripe/src/stripe-helpers.c +++ b/xlators/cluster/stripe/src/stripe-helpers.c @@ -563,7 +563,7 @@ set_stripe_block_size (xlator_t *this, stripe_private_t *priv, char *data) if (stripe_opt->block_size < STRIPE_MIN_BLOCK_SIZE) { gf_log (this->name, GF_LOG_ERROR, "Invalid Block-size: " - "%s. Should be atleast %llu bytes", num, + "%s. Should be at least %llu bytes", num, STRIPE_MIN_BLOCK_SIZE); goto out; } diff --git a/xlators/cluster/stripe/src/stripe.c b/xlators/cluster/stripe/src/stripe.c index fae80c3e200..a8534cfca1e 100644 --- a/xlators/cluster/stripe/src/stripe.c +++ b/xlators/cluster/stripe/src/stripe.c @@ -4436,7 +4436,7 @@ stripe_setxattr_cbk (call_frame_t *frame, void *cookie, call_cnt = --local->wind_count; /** - * We overwrite ->op_* values here for subsequent faliure + * We overwrite ->op_* values here for subsequent failure * conditions, hence we propagate the last errno down the * stack. */ @@ -5553,7 +5553,7 @@ stripe_getxattr (call_frame_t *frame, xlator_t *this, (void) strncpy (local->xsel, name, strlen (name)); /** - * for xattrs that need info from all childs, fill ->xsel + * for xattrs that need info from all children, fill ->xsel * as above and call the filler function in cbk based on * it */ -- cgit