From 727f2ebc84b6a3e6db6223ed8f5584d5cbbddbf6 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Mon, 17 Oct 2016 13:20:09 +0200 Subject: trivial: correct some spelling mistakes in comments and logs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit BUG: 1385593 Change-Id: Icfae9e557a284182c6c22e9606fdd641528906f0 Reported-by: Patrick Matthäi Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/15656 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Atin Mukherjee Reviewed-by: jiffin tony Thottan Reviewed-by: Kotresh HR Smoke: Gluster Build System --- xlators/cluster/dht/src/dht-common.c | 2 +- xlators/features/bit-rot/src/bitd/bit-rot.c | 2 +- xlators/features/trash/src/trash.c | 2 +- xlators/mgmt/glusterd/src/glusterd-rpc-ops.c | 2 +- xlators/mgmt/glusterd/src/glusterd-store.c | 2 +- xlators/nfs/server/src/nfs3.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) (limited to 'xlators') 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); } -- cgit