From cb6b7d55bc0e37b6c022d7bfc3728b10e4d94bcf Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Fri, 11 Sep 2020 10:29:03 -0400 Subject: [PATCH] Fix problems found by codespell Signed-off-by: Daniel J Walsh --- fuse-overlayfs.1.md | 2 +- fuse-overlayfs.h | 2 +- lib/hash.c | 2 +- main.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/fuse-overlayfs.1.md b/fuse-overlayfs.1.md index e3e3dca..b418de8 100644 --- a/fuse-overlayfs.1.md +++ b/fuse-overlayfs.1.md @@ -45,7 +45,7 @@ Specifies the dynamic UID/GID mapping used by fuse-overlayfs when reading/writing files to the system. The fuse-overlayfs dynamic mapping is an alternative and cheaper way -to chown'ing the files on the host to accomodate the user namespace +to chown'ing the files on the host to accommodate the user namespace settings. It is useful to share the same storage among different user namespaces diff --git a/fuse-overlayfs.h b/fuse-overlayfs.h index d599fbd..639f472 100644 --- a/fuse-overlayfs.h +++ b/fuse-overlayfs.h @@ -136,7 +136,7 @@ struct data_source bool (*must_be_remapped)(struct ovl_layer *l); }; -/* passtrough to the file system. */ +/* passthrough to the file system. */ extern struct data_source direct_access_ds; # ifndef HAVE_STATX diff --git a/lib/hash.c b/lib/hash.c index b1997ee..e8c75c7 100644 --- a/lib/hash.c +++ b/lib/hash.c @@ -646,7 +646,7 @@ hash_initialize (size_t candidate, const Hash_tuning *tuning, } /* Make all buckets empty, placing any chained entries on the free list. - Apply the user-specified function data_freer (if any) to the datas of any + Apply the user-specified function data_freer (if any) to the data of any affected entries. */ void diff --git a/main.c b/main.c index 2e5339d..37abd8a 100644 --- a/main.c +++ b/main.c @@ -219,7 +219,7 @@ typedef unsigned char uuid_t[16]; /* The type returned by overlay exportfs ops when encoding an ovl_fh handle */ #define OVL_FILEID 0xfb -/* On-disk and in-memeory format for redirect by file handle */ +/* On-disk and in-memory format for redirect by file handle */ struct ovl_fh { u8 version; /* 0 */