summaryrefslogtreecommitdiffstats
path: root/xlators/encryption/crypt/src/data.c
diff options
context:
space:
mode:
authorYaniv Kaul <ykaul@redhat.com>2018-07-16 17:03:17 +0300
committerAmar Tumballi <amarts@redhat.com>2018-07-22 14:40:16 +0000
commit621138ce763eda8270d0a4f6d7209fd50ada8787 (patch)
tree7299759993f6e9f7f34dad95fc8d8cd6ffc1b2fd /xlators/encryption/crypt/src/data.c
parentc0e76377d0fc47aa66f35ea70a4793731ebbd40c (diff)
All: run codespell on the code and fix issues.
Please review, it's not always just the comments that were fixed. I've had to revert of course all calls to creat() that were changed to create() ... Only compile-tested! Change-Id: I7d02e82d9766e272a7fd9cc68e51901d69e5aab5 updates: bz#1193929 Signed-off-by: Yaniv Kaul <ykaul@redhat.com>
Diffstat (limited to 'xlators/encryption/crypt/src/data.c')
-rw-r--r--xlators/encryption/crypt/src/data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/encryption/crypt/src/data.c b/xlators/encryption/crypt/src/data.c
index 8b467bf2c60..82e29c0405a 100644
--- a/xlators/encryption/crypt/src/data.c
+++ b/xlators/encryption/crypt/src/data.c
@@ -68,7 +68,7 @@ static int32_t set_private_aes_xts(struct crypt_inode_info *info,
return ENOMEM;
/*
- * retrieve data keying meterial
+ * retrieve data keying material
*/
ret = get_data_file_key(info, master, object->o_dkey_size, data_key);
if (ret) {
@@ -547,7 +547,7 @@ int32_t set_config_avec_hole(xlator_t *this,
case GF_FOP_FTRUNCATE:
/*
* expanding truncate, hole goes after data,
- * and will be submited in any case.
+ * and will be submitted in any case.
*/
break;
default:
@@ -671,7 +671,7 @@ void set_config_offsets(call_frame_t *frame,
uint32_t nr_full_blocks;
int32_t size_full_blocks;
- uint32_t acount; /* number of alifned components to write.
+ uint32_t acount; /* number of aligned components to write.
* The same as number of occupied logical
* blocks (atoms)
*/