summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authormvignesh@redhat.com <mvignesh@redhat.com>2016-07-13 15:30:19 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-07-18 05:01:22 -0700
commit98b95fc97e896c84de462445c48565a73b2144c2 (patch)
tree3c3f5a5350b3c75912cb25476b097125a57906d3 /xlators
parentbc0b106f0ae8ecd336c7689917e46bc2685603c8 (diff)
quota: corrected minor spelling mistakes in quota src files
Change-Id: I85420ca5f89ce9d576a81be22d8c2003f109b476 BUG: 1356032 Signed-off-by: mvignesh@redhat.com <mvignesh@redhat.com> Reviewed-on: http://review.gluster.org/14917 Reviewed-by: Manikandan Selvaganesh <mselvaga@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/features/quota/src/quota.c12
-rw-r--r--xlators/features/quota/src/quotad-aggregator.c7
2 files changed, 10 insertions, 9 deletions
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index c07403c7c7c..7091a3c9156 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -2403,7 +2403,7 @@ quota_link_continue (call_frame_t *frame)
/* Treat link as a new file.
* TODO: Currently marker accounts twice for the links created
* across directories.
- * This needs re-vist if marker accounts only once
+ * This needs re-visit if marker accounts only once
* for the links created across directories
*/
if (local->oldloc.parent)
@@ -2525,7 +2525,7 @@ quota_link (call_frame_t *frame, xlator_t *this, loc_t *oldloc, loc_t *newloc,
check_ancestory (frame, newloc->parent);
- /* source parent can be NULL, so do check_ancestory on a file */
+ /* source parent can be NULL, so do check_ancestry on a file */
if (oldloc->parent)
check_ancestory (frame, oldloc->parent);
else
@@ -2777,11 +2777,11 @@ quota_rename_continue (call_frame_t *frame)
/* FIXME: We need to account for the size occupied by
* this inode on the target directory. To avoid double
* accounting, we need to modify enforcer to perform
- * quota_check_limit only uptil the least common
+ * quota_check_limit only up till the least common
* ancestor directory inode*/
/* FIXME: The following code assumes that regular files
- * and linkfiles are present, in their entirety, in a
+ * and link files are present, in their entirety, in a
* single brick. This *assumption is invalid in the
* case of stripe.*/
@@ -2862,7 +2862,7 @@ quota_rename (call_frame_t *frame, xlator_t *this, loc_t *oldloc,
LOCK (&local->lock);
{
- /* link_count here tell how many check_ancestory should be done
+ /* link_count here tell how many check_ancestry should be done
* before continuing the FOP
*/
local->link_count = 2;
@@ -4297,7 +4297,7 @@ quota_statfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
inode = cookie;
- /* This fop will fail mostly in case of client disconnect's,
+ /* This fop will fail mostly in case of client disconnect,
* which is already logged. Hence, not logging here */
if (op_ret == -1)
goto unwind;
diff --git a/xlators/features/quota/src/quotad-aggregator.c b/xlators/features/quota/src/quotad-aggregator.c
index 8a7cfdca3f5..82d18ea15e0 100644
--- a/xlators/features/quota/src/quotad-aggregator.c
+++ b/xlators/features/quota/src/quotad-aggregator.c
@@ -38,8 +38,9 @@ quotad_serialize_reply (rpcsvc_request_t *req, void *arg, struct iovec *outmsg,
};
iobuf_to_iovec (iob, outmsg);
- /* Use the given serializer to translate the give C structure in arg
- * to XDR format which will be written into the buffer in outmsg.
+ /* Use the given serializer to translate the given C structure
+ * in arg to XDR format which will be written into the buffer
+ * in outmsg.
*/
/* retlen is used to received the error since size_t is unsigned and we
* need -1 for error notification during encoding.
@@ -48,7 +49,7 @@ quotad_serialize_reply (rpcsvc_request_t *req, void *arg, struct iovec *outmsg,
retlen = xdr_serialize_generic (*outmsg, arg, xdrproc);
if (retlen == -1) {
/* Failed to Encode 'GlusterFS' msg in RPC is not exactly
- failure of RPC return values.. client should get
+ failure of RPC return values.. Client should get
notified about this, so there are no missing frames */
gf_log_callingfn ("", GF_LOG_ERROR, "Failed to encode message");
req->rpc_err = GARBAGE_ARGS;