summaryrefslogtreecommitdiffstats
path: root/xlators/encryption/crypt/src/crypt.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/crypt.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/crypt.c')
-rw-r--r--xlators/encryption/crypt/src/crypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlators/encryption/crypt/src/crypt.c b/xlators/encryption/crypt/src/crypt.c
index 72384a5595a..70087820211 100644
--- a/xlators/encryption/crypt/src/crypt.c
+++ b/xlators/encryption/crypt/src/crypt.c
@@ -1361,7 +1361,7 @@ int32_t end_writeback_ftruncate(call_frame_t *frame,
if (should_resume_submit_hole(local))
submit_hole(frame, this);
/*
- * case of hole, when we should't resume
+ * case of hole, when we shouldn't resume
*/
put_one_call:
put_one_call_ftruncate(frame, this);
@@ -3528,7 +3528,7 @@ static int32_t __crypt_writev_done(call_frame_t *frame,
if (local->xattr)
dict_unref(local->xattr);
/*
- * Calculate amout of butes to be returned
+ * Calculate amount of butes to be returned
* to user. We need to subtract paddings that
* have been written as a part of atom.
*/