summaryrefslogtreecommitdiffstats
path: root/xlators
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
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')
-rw-r--r--xlators/cluster/dht/src/dht-common.c2
-rw-r--r--xlators/features/bit-rot/src/bitd/bit-rot.c2
-rw-r--r--xlators/features/trash/src/trash.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-rpc-ops.c2
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c2
-rw-r--r--xlators/nfs/server/src/nfs3.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/xlators/cluster/dht/src/dht-common.c b/xlators/cluster/dht/src/dht-common.c
index b984db951c1..01d83bb3074 100644
--- a/xlators/cluster/dht/src/dht-common.c
+++ b/xlators/cluster/dht/src/dht-common.c
@@ -1955,7 +1955,7 @@ unlock:
* be unlinked (performed in the "else if" block below)
*
* But if a linkto file is found on hashed subvolume, it may be
- * pointing to vaild cached node. So unlinking of linkto
+ * pointing to valid cached node. So unlinking of linkto
* file on hashed subvolume is skipped and inside
* dht_lookup_everywhere_done, checks are performed. If this
* linkto file is found as stale linkto file, it is deleted
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;
diff --git a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
index f9e76f3fad5..ef5b95273a5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-rpc-ops.c
@@ -682,7 +682,7 @@ __glusterd_friend_update_cbk (struct rpc_req *req, struct iovec *iov,
if (ret < 0) {
gf_msg (this->name, GF_LOG_ERROR, 0,
GD_MSG_RES_DECODE_FAIL, "Failed to serialize friend"
- " update repsonse");
+ " update response");
goto out;
}
diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c
index b529e039c97..121c73f62f5 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -3155,7 +3155,7 @@ glusterd_store_retrieve_volumes (xlator_t *this, glusterd_snap_t *snap)
}
if (!S_ISDIR (st.st_mode)) {
- gf_msg_debug (this->name, 0, "%s is not a vaild volume"
+ gf_msg_debug (this->name, 0, "%s is not a valid volume"
, entry->d_name);
goto next;
}
diff --git a/xlators/nfs/server/src/nfs3.c b/xlators/nfs/server/src/nfs3.c
index 64287c5b1bd..ffcba8f2c30 100644
--- a/xlators/nfs/server/src/nfs3.c
+++ b/xlators/nfs/server/src/nfs3.c
@@ -1511,7 +1511,7 @@ nfs3_lookup (rpcsvc_request_t *req, struct nfs3_fh *fh, int fhlen, char *name)
if (ret < 0) {
gf_msg (GF_NFS, GF_LOG_ERROR, -ret,
NFS_MSG_HARD_RESOLVE_FAIL,
- "failed to start hard reslove");
+ "failed to start hard resolve");
stat = nfs3_errno_to_nfsstat3 (-ret);
}