diff options
author | Andrea Gelmini <[email protected]> | 2021-04-02 18:38:53 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2021-04-02 18:52:15 -0700 |
commit | bf169e9f15efbc343b931f20cfad5d2b59c8a821 (patch) | |
tree | a15662d4490569937a30c715704ff51a698a2473 /lib | |
parent | 943df59ed942182427ed50b94a346dc22c4407e6 (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 'lib')
-rw-r--r-- | lib/libzfs/libzfs_dataset.c | 2 | ||||
-rw-r--r-- | lib/libzfsbootenv/lzbe_device.c | 2 | ||||
-rw-r--r-- | lib/libzutil/zutil_import.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/lib/libzfs/libzfs_dataset.c b/lib/libzfs/libzfs_dataset.c index 4598e87f2..b654e41a5 100644 --- a/lib/libzfs/libzfs_dataset.c +++ b/lib/libzfs/libzfs_dataset.c @@ -5334,7 +5334,7 @@ zfs_get_holds(zfs_handle_t *zhp, nvlist_t **nvl) * 160k. Again, 128k is from SPA_OLD_MAXBLOCKSIZE and 160k is as calculated in * the 128k block example above. * - * The situtation is slightly different for dRAID since the minimum allocation + * The situation is slightly different for dRAID since the minimum allocation * size is the full group width. The same 8K block above would be written as * follows in a dRAID group: * diff --git a/lib/libzfsbootenv/lzbe_device.c b/lib/libzfsbootenv/lzbe_device.c index 670efd8b0..b366bd9c7 100644 --- a/lib/libzfsbootenv/lzbe_device.c +++ b/lib/libzfsbootenv/lzbe_device.c @@ -83,7 +83,7 @@ lzbe_set_boot_device(const char *pool, lzbe_flags_t flag, const char *device) } else { /* * Use device name directly if it does start with - * prefix "zfs:". Otherwise, add prefix and sufix. + * prefix "zfs:". Otherwise, add prefix and suffix. */ if (strncmp(device, "zfs:", 4) == 0) { fnvlist_add_string(nv, OS_BOOTONCE, device); diff --git a/lib/libzutil/zutil_import.c b/lib/libzutil/zutil_import.c index 93d05354f..c06065250 100644 --- a/lib/libzutil/zutil_import.c +++ b/lib/libzutil/zutil_import.c @@ -1408,7 +1408,7 @@ discover_cached_paths(libpc_handle_t *hdl, nvlist_t *nv, /* * Once we have the path, we need to add the directory to - * our directoy cache. + * our directory cache. */ if (nvlist_lookup_string(nv, ZPOOL_CONFIG_PATH, &path) == 0) { return (zpool_find_import_scan_dir(hdl, lock, cache, |