summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr
diff options
context:
space:
mode:
authorManikandan Selvaganesh <mselvaga@redhat.com>2015-02-02 11:57:54 +0530
committerVijay Bellur <vbellur@redhat.com>2015-04-02 03:21:08 -0700
commit1d6cd6bb0f2f5875e8e4ad370cf1ff2c601cbfd4 (patch)
treeee33c0da18965079b2c95de1dfa3c794be7539f7 /xlators/cluster/afr
parent12e603bb9d8bc220eeea01c0ecc8ca63f9df4bc4 (diff)
Xlators : Fixed typos
Change-Id: I948f85cb369206ee8ce8b8cd5e48cae9adb971c9 BUG: 1075417 Signed-off-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-on: http://review.gluster.org/9529 Reviewed-by: Niels de Vos <ndevos@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Humble Devassy Chirammal <humble.devassy@gmail.com>
Diffstat (limited to 'xlators/cluster/afr')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c2
-rw-r--r--xlators/cluster/afr/src/afr-self-heal-metadata.c2
-rw-r--r--xlators/cluster/afr/src/pump.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index 776933892ff..f712166e44d 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -369,7 +369,7 @@ afr_do_writev (call_frame_t *frame, xlator_t *this)
/*
* Backend vfs ignores the 'offset' for append mode fd so
* locking just the region provided for the writev does not
- * give consistency gurantee. The actual write may happen at a
+ * give consistency guarantee. The actual write may happen at a
* completely different range than the one provided by the
* offset, len in the fop. So lock the entire file.
*/
diff --git a/xlators/cluster/afr/src/afr-self-heal-metadata.c b/xlators/cluster/afr/src/afr-self-heal-metadata.c
index 7333f939ae5..b08bd4ebe34 100644
--- a/xlators/cluster/afr/src/afr-self-heal-metadata.c
+++ b/xlators/cluster/afr/src/afr-self-heal-metadata.c
@@ -116,7 +116,7 @@ mtime_ns(struct iatt *ia)
/*
* When directory content is modified, [mc]time is updated. On
* Linux, the filesystem does it, while at least on NetBSD, the
- * kernel file-system independant code does it. This means that
+ * kernel file-system independent code does it. This means that
* when entries are added while bricks are down, the kernel sends
* a SETATTR [mc]time which will cause metadata split brain for
* the directory. In this case, clear the split brain by finding
diff --git a/xlators/cluster/afr/src/pump.h b/xlators/cluster/afr/src/pump.h
index 9d0b6db6a5e..7d5acd02bf6 100644
--- a/xlators/cluster/afr/src/pump.h
+++ b/xlators/cluster/afr/src/pump.h
@@ -30,7 +30,7 @@ typedef enum {
PUMP_STATE_RESUME, /* Pump is resuming from a previous pause */
PUMP_STATE_PAUSE, /* Pump is paused */
PUMP_STATE_ABORT, /* Pump is aborted */
- PUMP_STATE_COMMIT, /* Pump is commited */
+ PUMP_STATE_COMMIT, /* Pump is committed */
} pump_state_t;
typedef struct _pump_private {