summaryrefslogtreecommitdiffstats
path: root/include/os
diff options
context:
space:
mode:
authorAndrea Gelmini <[email protected]>2021-04-02 18:38:53 -0700
committerBrian Behlendorf <[email protected]>2021-04-07 13:27:11 -0700
commitca7af7f675bb93bc6610437973e3a59c8853991e (patch)
treec34c18ef6df827d6a0550e2664cf1dc56f42cbdf /include/os
parent35cce6ea6375c8f2e36d4569776f837fcac64289 (diff)
Fix various typos
Correct an assortment of typos throughout the code base. Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Matthew Ahrens <[email protected]> Reviewed-by: Ryan Moeller <[email protected]> Signed-off-by: Andrea Gelmini <[email protected]> Closes #11774
Diffstat (limited to 'include/os')
-rw-r--r--include/os/freebsd/spl/sys/vnode_impl.h2
-rw-r--r--include/os/linux/kernel/linux/blkdev_compat.h2
-rw-r--r--include/os/linux/kernel/linux/mod_compat.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/os/freebsd/spl/sys/vnode_impl.h b/include/os/freebsd/spl/sys/vnode_impl.h
index 94ec1ad4e..c82b1fc9a 100644
--- a/include/os/freebsd/spl/sys/vnode_impl.h
+++ b/include/os/freebsd/spl/sys/vnode_impl.h
@@ -210,7 +210,7 @@ enum create { CRCREAT, CRMKNOD, CRMKDIR }; /* reason for create */
*
* The cc_caller_id is used to identify one or more callers who invoke
* operations, possibly on behalf of others. For example, the NFS
- * server could have it's own cc_caller_id which can be detected by
+ * server could have its own cc_caller_id which can be detected by
* vnode/vfs operations or (FEM) monitors on those operations. New
* caller IDs are generated by fs_new_caller_id().
*/
diff --git a/include/os/linux/kernel/linux/blkdev_compat.h b/include/os/linux/kernel/linux/blkdev_compat.h
index ee066537b..b57d0a896 100644
--- a/include/os/linux/kernel/linux/blkdev_compat.h
+++ b/include/os/linux/kernel/linux/blkdev_compat.h
@@ -261,7 +261,7 @@ bio_set_bi_error(struct bio *bio, int error)
* For older kernels trigger a re-reading of the partition table by calling
* check_disk_change() which calls flush_disk() to invalidate the device.
*
- * For newer kernels (as of 5.10), bdev_check_media_chage is used, in favor of
+ * For newer kernels (as of 5.10), bdev_check_media_change is used, in favor of
* check_disk_change(), with the modification that invalidation is no longer
* forced.
*/
diff --git a/include/os/linux/kernel/linux/mod_compat.h b/include/os/linux/kernel/linux/mod_compat.h
index e96e95313..cc42c3f7c 100644
--- a/include/os/linux/kernel/linux/mod_compat.h
+++ b/include/os/linux/kernel/linux/mod_compat.h
@@ -83,7 +83,7 @@ enum scope_prefix_types {
/*
* Declare a module parameter / sysctl node
*
- * "scope_prefix" the part of the the sysctl / sysfs tree the node resides under
+ * "scope_prefix" the part of the sysctl / sysfs tree the node resides under
* (currently a no-op on Linux)
* "name_prefix" the part of the variable name that will be excluded from the
* exported names on platforms with a hierarchical namespace