summaryrefslogtreecommitdiffstats
path: root/xlators/features/bit-rot/src/bitd/bit-rot.h
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/features/bit-rot/src/bitd/bit-rot.h
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/features/bit-rot/src/bitd/bit-rot.h')
-rw-r--r--xlators/features/bit-rot/src/bitd/bit-rot.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/features/bit-rot/src/bitd/bit-rot.h b/xlators/features/bit-rot/src/bitd/bit-rot.h
index c2c0c225792..670060c8d88 100644
--- a/xlators/features/bit-rot/src/bitd/bit-rot.h
+++ b/xlators/features/bit-rot/src/bitd/bit-rot.h
@@ -77,7 +77,7 @@ typedef enum br_child_state {
struct br_child {
pthread_mutex_t lock; /* protects child state */
- char witnessed; /* witnessed at least one succesfull
+ char witnessed; /* witnessed at least one successful
connection */
br_child_state_t c_state; /* current state of this child */
@@ -123,7 +123,7 @@ struct br_scrubber {
/**
* frequency of scanning for this subvolume. this should
- * normally be per-child, but since all childs follow the
+ * normally be per-child, but since all children follow the
* same frequency for a volume, this option ends up here
* instead of br_child_t.
*/
@@ -225,7 +225,7 @@ struct br_object {
uuid_t gfid;
- unsigned long signedversion; /* version aginst which this object will
+ unsigned long signedversion; /* version against which this object will
be signed */
br_child_t *child; /* object's subvolume */