summaryrefslogtreecommitdiffstats
path: root/xlators/storage/posix/src
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/storage/posix/src
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/storage/posix/src')
-rw-r--r--xlators/storage/posix/src/posix-common.c4
-rw-r--r--xlators/storage/posix/src/posix-handle.c2
-rw-r--r--xlators/storage/posix/src/posix-metadata.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/xlators/storage/posix/src/posix-common.c b/xlators/storage/posix/src/posix-common.c
index c17534536d2..a7161de3396 100644
--- a/xlators/storage/posix/src/posix-common.c
+++ b/xlators/storage/posix/src/posix-common.c
@@ -1252,7 +1252,7 @@ struct volume_options options[] = {
"of fsyncs.\n"
"\t- syncfs-single-fsync: Perform one syncfs() on behalf of a batch"
" of fsyncs and one fsync() per batch.\n"
- "\t- syncfs-reverse-fsync: Preform one syncfs() on behalf of a batch"
+ "\t- syncfs-reverse-fsync: Perform one syncfs() on behalf of a batch"
" of fsyncs and fsync() each file in the batch in reverse order.\n"
" in reverse order.\n"
"\t- reverse-fsync: Perform fsync() of each file in the batch in"
@@ -1305,7 +1305,7 @@ struct volume_options options[] = {
.type = GF_OPTION_TYPE_STR,
.default_value = "none",
.description = "Option to control XATTR user namespace on the raw filesystem: "
- "\t- None: Will use the user namespace, so files will be exchangable with Linux.\n"
+ "\t- None: Will use the user namespace, so files will be exchangeable with Linux.\n"
" The raw filesystem will not be compatible with OS X Finder.\n"
"\t- Strip: Will strip the user namespace before setting. The raw filesystem will work in OS X.\n",
.op_version = {GD_OP_VERSION_3_6_0},
diff --git a/xlators/storage/posix/src/posix-handle.c b/xlators/storage/posix/src/posix-handle.c
index 0bb4c055a3c..ed95b04b69c 100644
--- a/xlators/storage/posix/src/posix-handle.c
+++ b/xlators/storage/posix/src/posix-handle.c
@@ -209,7 +209,7 @@ posix_make_ancestryfromgfid (xlator_t *this, char *path, int pathsize,
if (top == PATH_MAX/2) {
gf_msg (this->name, GF_LOG_ERROR,
P_MSG_ANCESTORY_FAILED,
- 0, "build ancestory failed due to "
+ 0, "build ancestry failed due to "
"deep directory hierarchy, depth: %d.", top);
*op_errno = EINVAL;
ret = -1;
diff --git a/xlators/storage/posix/src/posix-metadata.c b/xlators/storage/posix/src/posix-metadata.c
index 00cd2409532..03e14f9873f 100644
--- a/xlators/storage/posix/src/posix-metadata.c
+++ b/xlators/storage/posix/src/posix-metadata.c
@@ -20,7 +20,7 @@
static int gf_posix_xattr_enotsup_log;
/* posix_mdata_to_disk converts posix_mdata_t into network byte order to
- * save it on disk in machine independant format
+ * save it on disk in machine independent format
*/
static inline void
posix_mdata_to_disk (posix_mdata_disk_t *out, posix_mdata_t *in)