aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/libzfs_impl.h2
-rw-r--r--include/os/freebsd/spl/rpc/xdr.h2
-rw-r--r--include/os/freebsd/spl/sys/callb.h2
-rw-r--r--include/os/freebsd/spl/sys/vnode_impl.h4
-rw-r--r--include/os/linux/spl/sys/trace.h2
-rw-r--r--include/sys/btree.h2
-rw-r--r--include/sys/zfs_ioctl.h2
-rw-r--r--include/sys/zfs_znode.h2
-rw-r--r--include/sys/zio_crypt.h2
9 files changed, 10 insertions, 10 deletions
diff --git a/include/libzfs_impl.h b/include/libzfs_impl.h
index 91fa1efbb..78b5a0586 100644
--- a/include/libzfs_impl.h
+++ b/include/libzfs_impl.h
@@ -1,5 +1,5 @@
/*
- * CDDL HEADER SART
+ * CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
diff --git a/include/os/freebsd/spl/rpc/xdr.h b/include/os/freebsd/spl/rpc/xdr.h
index b4df2c1ea..59d5e425b 100644
--- a/include/os/freebsd/spl/rpc/xdr.h
+++ b/include/os/freebsd/spl/rpc/xdr.h
@@ -7,7 +7,7 @@
* program developed by the user.
*
* SUN RPC IS PROVIDED AS IS WITH NO WARRANTIES OF ANY KIND INCLUDING THE
- * WARRANTIES OF DESIGN, MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
+ * WARRANTIES OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR
* PURPOSE, OR ARISING FROM A COURSE OF DEALING, USAGE OR TRADE PRACTICE.
*
* Sun RPC is provided with no support and without any obligation on the
diff --git a/include/os/freebsd/spl/sys/callb.h b/include/os/freebsd/spl/sys/callb.h
index ed9ed8cd8..cc67b0263 100644
--- a/include/os/freebsd/spl/sys/callb.h
+++ b/include/os/freebsd/spl/sys/callb.h
@@ -116,7 +116,7 @@ typedef struct callb_cpr {
*
* cp - ptr to the callb_cpr_t structure for this kernel thread
*
- * lockp - pointer to mutex protecting the callb_cpr_t stuct
+ * lockp - pointer to mutex protecting the callb_cpr_t struct
*
* func - pointer to the callback function for this kernel thread.
* It has the prototype boolean_t <func>(void *arg, int code)
diff --git a/include/os/freebsd/spl/sys/vnode_impl.h b/include/os/freebsd/spl/sys/vnode_impl.h
index 78de740d9..94ec1ad4e 100644
--- a/include/os/freebsd/spl/sys/vnode_impl.h
+++ b/include/os/freebsd/spl/sys/vnode_impl.h
@@ -55,7 +55,7 @@
* - a 32 bit quantity (xva_mapsize) that specifies the size of the
* attribute bitmaps in 32 bit words.
* - A pointer to the returned attribute bitmap (needed because the
- * previous element, the requested attribute bitmap) is variable lenth.
+ * previous element, the requested attribute bitmap) is variable length.
* - The requested attribute bitmap, which is an array of 32 bit words.
* Callers use the XVA_SET_REQ() macro to set the bits corresponding to
* the attributes that are being requested.
@@ -79,7 +79,7 @@
* attributes to be requested/returned. File systems may or may not support
* optional attributes. They do so at their own discretion but if they do
* support optional attributes, they must register the VFSFT_XVATTR feature
- * so that the optional attributes can be set/retrived.
+ * so that the optional attributes can be set/retrieved.
*
* The fields of the xvattr structure are:
*
diff --git a/include/os/linux/spl/sys/trace.h b/include/os/linux/spl/sys/trace.h
index df859cf2f..55c587358 100644
--- a/include/os/linux/spl/sys/trace.h
+++ b/include/os/linux/spl/sys/trace.h
@@ -38,7 +38,7 @@
* module/zfs/vdev_removal.c including trace_vdev.h, DTRACE_PROBE calls
* are mapped to stub functions calls and prototypes for those calls are
* declared via DEFINE_DTRACE_PROBE*. Only module/zfs/trace.c defines
- * CREATE_TRACE_POINTS. That is follwed by includes of all the general
+ * CREATE_TRACE_POINTS. That is followed by includes of all the general
* tracing headers thereby defining all stub functions in one place via
* the DEFINE_DTRACE_PROBE macros.
*
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 */