summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2016-10-17 13:20:09 +0200
committerNiels de Vos <ndevos@redhat.com>2016-10-18 03:27:12 -0700
commit727f2ebc84b6a3e6db6223ed8f5584d5cbbddbf6 (patch)
tree7f4ac9037081bf11bec0c32585fa8b19ff33c2a2 /xlators/features
parentb5a7dd5b39845d5e58fdd257b5c2bf801c7c1c8a (diff)
trivial: correct some spelling mistakes in comments and logs
BUG: 1385593 Change-Id: Icfae9e557a284182c6c22e9606fdd641528906f0 Reported-by: Patrick Matthäi <pmatthaei@debian.org> Signed-off-by: Niels de Vos <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/15656 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Reviewed-by: jiffin tony Thottan <jthottan@redhat.com> Reviewed-by: Kotresh HR <khiremat@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/bit-rot/src/bitd/bit-rot.c2
-rw-r--r--xlators/features/trash/src/trash.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.c b/xlators/features/bit-rot/src/bitd/bit-rot.c
index 882ac1da6b4..e55a22f1cdc 100644
--- a/xlators/features/bit-rot/src/bitd/bit-rot.c
+++ b/xlators/features/bit-rot/src/bitd/bit-rot.c
@@ -1211,7 +1211,7 @@ br_enact_scrubber (xlator_t *this, br_child_t *child)
fsscrub = &priv->fsscrub;
/**
- * if this child already witnesses a successfull connection earlier
+ * if this child already witnesses a successful connection earlier
* there's no need to initialize mutexes, condvars, etc..
*/
if (_br_child_witnessed_connection (child))
diff --git a/xlators/features/trash/src/trash.c b/xlators/features/trash/src/trash.c
index fd5507ff694..22ee0a3f48e 100644
--- a/xlators/features/trash/src/trash.c
+++ b/xlators/features/trash/src/trash.c
@@ -1669,7 +1669,7 @@ trash_truncate_stat_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
local->newloc.inode = inode_new (local->loc.inode->table);
local->newfd = fd_create (local->newloc.inode, frame->root->pid);
- /* Creating vaild parent and pargfids for both files */
+ /* Creating valid parent and pargfids for both files */
if (dir_entry == NULL) {
ret = EINVAL;