summaryrefslogtreecommitdiffstats
path: root/xlators/encryption
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/encryption
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/encryption')
-rw-r--r--xlators/encryption/crypt/src/crypt.c2
-rw-r--r--xlators/encryption/crypt/src/crypt.h2
-rw-r--r--xlators/encryption/crypt/src/metadata.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/xlators/encryption/crypt/src/crypt.c b/xlators/encryption/crypt/src/crypt.c
index ae8cdb2ad24..750fa887f78 100644
--- a/xlators/encryption/crypt/src/crypt.c
+++ b/xlators/encryption/crypt/src/crypt.c
@@ -1701,7 +1701,7 @@ static int32_t crypt_ftruncate_finodelk_cbk(call_frame_t *frame,
/*
* ftruncate is performed in 2 steps:
- * . recieve file size;
+ * . receive file size;
* . expand or prune file.
*/
static int32_t crypt_ftruncate(call_frame_t *frame,
diff --git a/xlators/encryption/crypt/src/crypt.h b/xlators/encryption/crypt/src/crypt.h
index 4a87f016089..31bb59d8765 100644
--- a/xlators/encryption/crypt/src/crypt.h
+++ b/xlators/encryption/crypt/src/crypt.h
@@ -253,7 +253,7 @@ typedef struct {
*/
gf_dirent_t *de; /* directory entry */
char *de_path; /* pathname of directory entry */
- uint32_t de_prefix_len; /* lenght of the parent's pathname */
+ uint32_t de_prefix_len; /* length of the parent's pathname */
gf_dirent_t *entries;
uint32_t update_disk_file_size:1;
diff --git a/xlators/encryption/crypt/src/metadata.c b/xlators/encryption/crypt/src/metadata.c
index ebc76c84eb2..a4124ab8d6b 100644
--- a/xlators/encryption/crypt/src/metadata.c
+++ b/xlators/encryption/crypt/src/metadata.c
@@ -404,7 +404,7 @@ int32_t check_format_v1(uint32_t len, unsigned char *wire)
* return:
* -1 on errors;
* 0 on failed verification;
- * 1 on sucessful verification
+ * 1 on successful verification
*/
static int32_t verify_link_mac_v1(struct mtd_format_v1 *fmt,
uint32_t idx /* index of the mac to verify */,