summaryrefslogtreecommitdiffstats
path: root/xlators/features/trash
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/trash
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/trash')
-rw-r--r--xlators/features/trash/src/trash.c2
1 files changed, 1 insertions, 1 deletions
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;