diff options
author | Andrea Gelmini <[email protected]> | 2020-06-10 06:24:09 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2020-06-09 21:24:09 -0700 |
commit | dd4bc569b9f73e8c2445bed90d82c92d98aada03 (patch) | |
tree | 64bacc1d16199ed350783f0b9a6490fe79ed6a70 /include/sys | |
parent | 7bcb7f0840d1857370dd1f9ee0ad48f9b7939dfd (diff) |
Fix typos
Correct various typos in the comments and tests.
Reviewed-by: Ryan Moeller <[email protected]>
Reviewed-by: Matthew Ahrens <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Andrea Gelmini <[email protected]>
Closes #10423
Diffstat (limited to 'include/sys')
-rw-r--r-- | include/sys/btree.h | 2 | ||||
-rw-r--r-- | include/sys/zfs_ioctl.h | 2 | ||||
-rw-r--r-- | include/sys/zfs_znode.h | 2 | ||||
-rw-r--r-- | include/sys/zio_crypt.h | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/include/sys/btree.h b/include/sys/btree.h index 9fe2534df..3b53476c7 100644 --- a/include/sys/btree.h +++ b/include/sys/btree.h @@ -47,7 +47,7 @@ extern "C" { * at its children. Leaf nodes only contain data elements, and form the bottom * layer of the tree. Unlike B+ Trees, in this B-Tree implementation the * elements in the core nodes are not copies of or references to leaf node - * elements. Each element occcurs only once in the tree, no matter what kind + * elements. Each element occurs only once in the tree, no matter what kind * of node it is in. * * The tree's height is the same throughout, unlike many other forms of search diff --git a/include/sys/zfs_ioctl.h b/include/sys/zfs_ioctl.h index 78d33deda..100158b94 100644 --- a/include/sys/zfs_ioctl.h +++ b/include/sys/zfs_ioctl.h @@ -361,7 +361,7 @@ typedef struct dmu_replay_record { } drr_redact; /* - * Nore: drr_checksum is overlaid with all record types + * Note: drr_checksum is overlaid with all record types * except DRR_BEGIN. Therefore its (non-pad) members * must not overlap with members from the other structs. * We accomplish this by putting its members at the very diff --git a/include/sys/zfs_znode.h b/include/sys/zfs_znode.h index 0e8d44637..d7823221e 100644 --- a/include/sys/zfs_znode.h +++ b/include/sys/zfs_znode.h @@ -212,7 +212,7 @@ typedef struct znode { /* * Platform specific field, defined by each platform and only - * accessable from platform specific code. + * accessible from platform specific code. */ ZNODE_OS_FIELDS; } znode_t; diff --git a/include/sys/zio_crypt.h b/include/sys/zio_crypt.h index fdd65f5a6..6b7bf719e 100644 --- a/include/sys/zio_crypt.h +++ b/include/sys/zio_crypt.h @@ -102,7 +102,7 @@ typedef struct zio_crypt_key { crypto_key_t zk_current_key; #if defined(__FreeBSD__) && defined(_KERNEL) - /* Session for current encrpytion key. Must always be set */ + /* Session for current encryption key. Must always be set */ freebsd_crypt_session_t zk_session; #else /* template of current encryption key for illumos crypto api */ |